Skip to content

Commit bbe6ac2

Browse files
Generate ske
1 parent 06bdc2a commit bbe6ac2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+647
-308
lines changed

services/ske/src/stackit/ske/__init__.py

Lines changed: 110 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -7,66 +7,127 @@
77
88
The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks.
99
10-
The version of the OpenAPI document: 1.1
10+
The version of the OpenAPI document: 2.0
1111
Generated by OpenAPI Generator (https://openapi-generator.tech)
1212
1313
Do not edit the class manually.
14-
""" # noqa: E501 docstring might be too long
14+
""" # noqa: E501
1515

1616

1717
__version__ = "1.0.0"
1818

19+
# Define package exports
20+
__all__ = [
21+
"DefaultApi",
22+
"ApiResponse",
23+
"ApiClient",
24+
"HostConfiguration",
25+
"OpenApiException",
26+
"ApiTypeError",
27+
"ApiValueError",
28+
"ApiKeyError",
29+
"ApiAttributeError",
30+
"ApiException",
31+
"ACL",
32+
"AvailabilityZone",
33+
"CRI",
34+
"Cluster",
35+
"ClusterError",
36+
"ClusterStatus",
37+
"ClusterStatusState",
38+
"CreateKubeconfigPayload",
39+
"CreateOrUpdateClusterPayload",
40+
"CredentialsRotationState",
41+
"DNS",
42+
"Extension",
43+
"Hibernation",
44+
"HibernationSchedule",
45+
"Image",
46+
"Kubeconfig",
47+
"Kubernetes",
48+
"KubernetesVersion",
49+
"ListClustersResponse",
50+
"LoginKubeconfig",
51+
"Machine",
52+
"MachineImage",
53+
"MachineImageVersion",
54+
"MachineType",
55+
"Maintenance",
56+
"MaintenanceAutoUpdate",
57+
"Network",
58+
"Nodepool",
59+
"Observability",
60+
"ProviderOptions",
61+
"RuntimeError",
62+
"Taint",
63+
"TimeWindow",
64+
"Volume",
65+
"VolumeType",
66+
]
67+
1968
# import apis into sdk package
20-
from stackit.ske.api.default_api import DefaultApi
21-
from stackit.ske.api_client import ApiClient
69+
from stackit.ske.api.default_api import DefaultApi as DefaultApi
70+
from stackit.ske.api_client import ApiClient as ApiClient
2271

2372
# import ApiClient
24-
from stackit.ske.api_response import ApiResponse
25-
from stackit.ske.configuration import HostConfiguration
26-
from stackit.ske.exceptions import (
27-
ApiAttributeError,
28-
ApiException,
29-
ApiKeyError,
30-
ApiTypeError,
31-
ApiValueError,
32-
OpenApiException,
33-
)
73+
from stackit.ske.api_response import ApiResponse as ApiResponse
74+
from stackit.ske.configuration import HostConfiguration as HostConfiguration
75+
from stackit.ske.exceptions import ApiAttributeError as ApiAttributeError
76+
from stackit.ske.exceptions import ApiException as ApiException
77+
from stackit.ske.exceptions import ApiKeyError as ApiKeyError
78+
from stackit.ske.exceptions import ApiTypeError as ApiTypeError
79+
from stackit.ske.exceptions import ApiValueError as ApiValueError
80+
from stackit.ske.exceptions import OpenApiException as OpenApiException
3481

3582
# import models into sdk package
36-
from stackit.ske.models.acl import ACL
37-
from stackit.ske.models.argus import Argus
38-
from stackit.ske.models.availability_zone import AvailabilityZone
39-
from stackit.ske.models.cluster import Cluster
40-
from stackit.ske.models.cluster_error import ClusterError
41-
from stackit.ske.models.cluster_status import ClusterStatus
42-
from stackit.ske.models.cluster_status_state import ClusterStatusState
43-
from stackit.ske.models.create_kubeconfig_payload import CreateKubeconfigPayload
83+
from stackit.ske.models.acl import ACL as ACL
84+
from stackit.ske.models.availability_zone import AvailabilityZone as AvailabilityZone
85+
from stackit.ske.models.cluster import Cluster as Cluster
86+
from stackit.ske.models.cluster_error import ClusterError as ClusterError
87+
from stackit.ske.models.cluster_status import ClusterStatus as ClusterStatus
88+
from stackit.ske.models.cluster_status_state import (
89+
ClusterStatusState as ClusterStatusState,
90+
)
91+
from stackit.ske.models.create_kubeconfig_payload import (
92+
CreateKubeconfigPayload as CreateKubeconfigPayload,
93+
)
4494
from stackit.ske.models.create_or_update_cluster_payload import (
45-
CreateOrUpdateClusterPayload,
95+
CreateOrUpdateClusterPayload as CreateOrUpdateClusterPayload,
96+
)
97+
from stackit.ske.models.credentials_rotation_state import (
98+
CredentialsRotationState as CredentialsRotationState,
99+
)
100+
from stackit.ske.models.cri import CRI as CRI
101+
from stackit.ske.models.dns import DNS as DNS
102+
from stackit.ske.models.extension import Extension as Extension
103+
from stackit.ske.models.hibernation import Hibernation as Hibernation
104+
from stackit.ske.models.hibernation_schedule import (
105+
HibernationSchedule as HibernationSchedule,
106+
)
107+
from stackit.ske.models.image import Image as Image
108+
from stackit.ske.models.kubeconfig import Kubeconfig as Kubeconfig
109+
from stackit.ske.models.kubernetes import Kubernetes as Kubernetes
110+
from stackit.ske.models.kubernetes_version import KubernetesVersion as KubernetesVersion
111+
from stackit.ske.models.list_clusters_response import (
112+
ListClustersResponse as ListClustersResponse,
113+
)
114+
from stackit.ske.models.login_kubeconfig import LoginKubeconfig as LoginKubeconfig
115+
from stackit.ske.models.machine import Machine as Machine
116+
from stackit.ske.models.machine_image import MachineImage as MachineImage
117+
from stackit.ske.models.machine_image_version import (
118+
MachineImageVersion as MachineImageVersion,
119+
)
120+
from stackit.ske.models.machine_type import MachineType as MachineType
121+
from stackit.ske.models.maintenance import Maintenance as Maintenance
122+
from stackit.ske.models.maintenance_auto_update import (
123+
MaintenanceAutoUpdate as MaintenanceAutoUpdate,
46124
)
47-
from stackit.ske.models.credentials_rotation_state import CredentialsRotationState
48-
from stackit.ske.models.cri import CRI
49-
from stackit.ske.models.dns import DNS
50-
from stackit.ske.models.extension import Extension
51-
from stackit.ske.models.hibernation import Hibernation
52-
from stackit.ske.models.hibernation_schedule import HibernationSchedule
53-
from stackit.ske.models.image import Image
54-
from stackit.ske.models.kubeconfig import Kubeconfig
55-
from stackit.ske.models.kubernetes import Kubernetes
56-
from stackit.ske.models.kubernetes_version import KubernetesVersion
57-
from stackit.ske.models.list_clusters_response import ListClustersResponse
58-
from stackit.ske.models.login_kubeconfig import LoginKubeconfig
59-
from stackit.ske.models.machine import Machine
60-
from stackit.ske.models.machine_image import MachineImage
61-
from stackit.ske.models.machine_image_version import MachineImageVersion
62-
from stackit.ske.models.machine_type import MachineType
63-
from stackit.ske.models.maintenance import Maintenance
64-
from stackit.ske.models.maintenance_auto_update import MaintenanceAutoUpdate
65-
from stackit.ske.models.network import Network
66-
from stackit.ske.models.nodepool import Nodepool
67-
from stackit.ske.models.provider_options import ProviderOptions
68-
from stackit.ske.models.runtime_error import RuntimeError
69-
from stackit.ske.models.taint import Taint
70-
from stackit.ske.models.time_window import TimeWindow
71-
from stackit.ske.models.volume import Volume
72-
from stackit.ske.models.volume_type import VolumeType
125+
from stackit.ske.models.network import Network as Network
126+
from stackit.ske.models.nodepool import Nodepool as Nodepool
127+
from stackit.ske.models.observability import Observability as Observability
128+
from stackit.ske.models.provider_options import ProviderOptions as ProviderOptions
129+
from stackit.ske.models.runtime_error import RuntimeError as RuntimeError
130+
from stackit.ske.models.taint import Taint as Taint
131+
from stackit.ske.models.time_window import TimeWindow as TimeWindow
132+
from stackit.ske.models.volume import Volume as Volume
133+
from stackit.ske.models.volume_type import VolumeType as VolumeType

0 commit comments

Comments
 (0)