Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion services/ske/src/stackit/ske/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"""
STACKIT Kubernetes Engine API

The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks.
The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks.

The version of the OpenAPI document: 2.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down Expand Up @@ -43,6 +43,7 @@
"GetProviderOptionsRequestVersionState",
"Hibernation",
"HibernationSchedule",
"IDP",
"Image",
"Kubeconfig",
"Kubernetes",
Expand Down Expand Up @@ -109,6 +110,7 @@
from stackit.ske.models.hibernation_schedule import (
HibernationSchedule as HibernationSchedule,
)
from stackit.ske.models.idp import IDP as IDP
from stackit.ske.models.image import Image as Image
from stackit.ske.models.kubeconfig import Kubeconfig as Kubeconfig
from stackit.ske.models.kubernetes import Kubernetes as Kubernetes
Expand Down
59 changes: 34 additions & 25 deletions services/ske/src/stackit/ske/api/default_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
STACKIT Kubernetes Engine API

The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks.
The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks.

The version of the OpenAPI document: 2.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down Expand Up @@ -335,9 +335,9 @@ def create_kubeconfig(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> Kubeconfig:
"""Create a kubeconfig
"""Create an admin kubeconfig

Create a new kubeconfig for the cluster. You can specify the expiration (in seconds) in the request body. Its value must be in the range from 600 (10 min) to 15552000 (6 months).
Create a new admin kubeconfig for the cluster. You can specify the expiration (in seconds) in the request body. Its value must be in the range from 600 (10 min) to 15552000 (6 months). Defaults to 3600.

:param project_id: (required)
:type project_id: str
Expand Down Expand Up @@ -384,6 +384,7 @@ def create_kubeconfig(
"200": "Kubeconfig",
"400": "object",
"401": "object",
"404": "object",
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
response_data.read()
Expand All @@ -409,9 +410,9 @@ def create_kubeconfig_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[Kubeconfig]:
"""Create a kubeconfig
"""Create an admin kubeconfig

Create a new kubeconfig for the cluster. You can specify the expiration (in seconds) in the request body. Its value must be in the range from 600 (10 min) to 15552000 (6 months).
Create a new admin kubeconfig for the cluster. You can specify the expiration (in seconds) in the request body. Its value must be in the range from 600 (10 min) to 15552000 (6 months). Defaults to 3600.

:param project_id: (required)
:type project_id: str
Expand Down Expand Up @@ -458,6 +459,7 @@ def create_kubeconfig_with_http_info(
"200": "Kubeconfig",
"400": "object",
"401": "object",
"404": "object",
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
response_data.read()
Expand All @@ -483,9 +485,9 @@ def create_kubeconfig_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""Create a kubeconfig
"""Create an admin kubeconfig

Create a new kubeconfig for the cluster. You can specify the expiration (in seconds) in the request body. Its value must be in the range from 600 (10 min) to 15552000 (6 months).
Create a new admin kubeconfig for the cluster. You can specify the expiration (in seconds) in the request body. Its value must be in the range from 600 (10 min) to 15552000 (6 months). Defaults to 3600.

:param project_id: (required)
:type project_id: str
Expand Down Expand Up @@ -532,6 +534,7 @@ def create_kubeconfig_without_preload_content(
"200": "Kubeconfig",
"400": "object",
"401": "object",
"404": "object",
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
return response_data.response
Expand Down Expand Up @@ -957,6 +960,7 @@ def delete_cluster(
"202": "object",
"400": "object",
"401": "object",
"404": "object",
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
response_data.read()
Expand Down Expand Up @@ -1028,6 +1032,7 @@ def delete_cluster_with_http_info(
"202": "object",
"400": "object",
"401": "object",
"404": "object",
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
response_data.read()
Expand Down Expand Up @@ -1099,6 +1104,7 @@ def delete_cluster_without_preload_content(
"202": "object",
"400": "object",
"401": "object",
"404": "object",
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
return response_data.response
Expand Down Expand Up @@ -1221,6 +1227,7 @@ def get_cluster(
"200": "Cluster",
"400": "object",
"401": "object",
"404": "object",
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
response_data.read()
Expand Down Expand Up @@ -1291,6 +1298,7 @@ def get_cluster_with_http_info(
"200": "Cluster",
"400": "object",
"401": "object",
"404": "object",
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
response_data.read()
Expand Down Expand Up @@ -1361,6 +1369,7 @@ def get_cluster_without_preload_content(
"200": "Cluster",
"400": "object",
"401": "object",
"404": "object",
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
return response_data.response
Expand Down Expand Up @@ -1437,9 +1446,9 @@ def get_login_kubeconfig(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> LoginKubeconfig:
"""Get a kubeconfig for use with the STACKIT CLI
"""Get an admin kubeconfig for use with the STACKIT CLI

A kubeconfig retrieved using this endpoint does not contain any credentials and instead obtains valid credentials via the STACKIT CLI.
A admin kubeconfig retrieved using this endpoint does not contain any credentials and instead obtains valid credentials via the STACKIT CLI.

:param project_id: (required)
:type project_id: str
Expand Down Expand Up @@ -1483,6 +1492,7 @@ def get_login_kubeconfig(
"200": "LoginKubeconfig",
"400": "object",
"401": "object",
"404": "object",
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
response_data.read()
Expand All @@ -1507,9 +1517,9 @@ def get_login_kubeconfig_with_http_info(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> ApiResponse[LoginKubeconfig]:
"""Get a kubeconfig for use with the STACKIT CLI
"""Get an admin kubeconfig for use with the STACKIT CLI

A kubeconfig retrieved using this endpoint does not contain any credentials and instead obtains valid credentials via the STACKIT CLI.
A admin kubeconfig retrieved using this endpoint does not contain any credentials and instead obtains valid credentials via the STACKIT CLI.

:param project_id: (required)
:type project_id: str
Expand Down Expand Up @@ -1553,6 +1563,7 @@ def get_login_kubeconfig_with_http_info(
"200": "LoginKubeconfig",
"400": "object",
"401": "object",
"404": "object",
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
response_data.read()
Expand All @@ -1577,9 +1588,9 @@ def get_login_kubeconfig_without_preload_content(
_headers: Optional[Dict[StrictStr, Any]] = None,
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
) -> RESTResponseType:
"""Get a kubeconfig for use with the STACKIT CLI
"""Get an admin kubeconfig for use with the STACKIT CLI

A kubeconfig retrieved using this endpoint does not contain any credentials and instead obtains valid credentials via the STACKIT CLI.
A admin kubeconfig retrieved using this endpoint does not contain any credentials and instead obtains valid credentials via the STACKIT CLI.

:param project_id: (required)
:type project_id: str
Expand Down Expand Up @@ -1623,6 +1634,7 @@ def get_login_kubeconfig_without_preload_content(
"200": "LoginKubeconfig",
"400": "object",
"401": "object",
"404": "object",
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
return response_data.response
Expand Down Expand Up @@ -1950,7 +1962,7 @@ def list_provider_options(
) -> ProviderOptions:
"""List provider options

Returns a list of supported Kubernetes versions and a list of supported machine types for the cluster nodes.
Returns available Kubernetes versions, availability zones, machine types, OS versions and volume types for the cluster nodes.

:param region: (required)
:type region: str
Expand Down Expand Up @@ -1989,7 +2001,6 @@ def list_provider_options(

_response_types_map: Dict[str, Optional[str]] = {
"200": "ProviderOptions",
"400": "object",
"401": "object",
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand All @@ -2016,7 +2027,7 @@ def list_provider_options_with_http_info(
) -> ApiResponse[ProviderOptions]:
"""List provider options

Returns a list of supported Kubernetes versions and a list of supported machine types for the cluster nodes.
Returns available Kubernetes versions, availability zones, machine types, OS versions and volume types for the cluster nodes.

:param region: (required)
:type region: str
Expand Down Expand Up @@ -2055,7 +2066,6 @@ def list_provider_options_with_http_info(

_response_types_map: Dict[str, Optional[str]] = {
"200": "ProviderOptions",
"400": "object",
"401": "object",
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand All @@ -2082,7 +2092,7 @@ def list_provider_options_without_preload_content(
) -> RESTResponseType:
"""List provider options

Returns a list of supported Kubernetes versions and a list of supported machine types for the cluster nodes.
Returns available Kubernetes versions, availability zones, machine types, OS versions and volume types for the cluster nodes.

:param region: (required)
:type region: str
Expand Down Expand Up @@ -2121,7 +2131,6 @@ def list_provider_options_without_preload_content(

_response_types_map: Dict[str, Optional[str]] = {
"200": "ProviderOptions",
"400": "object",
"401": "object",
}
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
Expand Down Expand Up @@ -2468,7 +2477,7 @@ def trigger_hibernate(
) -> object:
"""Trigger cluster hibernation

Trigger immediate hibernation of the cluster. If the cluster is already in hibernation state, the method does nothing.
Trigger immediate hibernation of the cluster. If the cluster is already in hibernation state, this endpoint does nothing.

:param project_id: (required)
:type project_id: str
Expand Down Expand Up @@ -2540,7 +2549,7 @@ def trigger_hibernate_with_http_info(
) -> ApiResponse[object]:
"""Trigger cluster hibernation

Trigger immediate hibernation of the cluster. If the cluster is already in hibernation state, the method does nothing.
Trigger immediate hibernation of the cluster. If the cluster is already in hibernation state, this endpoint does nothing.

:param project_id: (required)
:type project_id: str
Expand Down Expand Up @@ -2612,7 +2621,7 @@ def trigger_hibernate_without_preload_content(
) -> RESTResponseType:
"""Trigger cluster hibernation

Trigger immediate hibernation of the cluster. If the cluster is already in hibernation state, the method does nothing.
Trigger immediate hibernation of the cluster. If the cluster is already in hibernation state, this endpoint does nothing.

:param project_id: (required)
:type project_id: str
Expand Down Expand Up @@ -3272,7 +3281,7 @@ def trigger_wakeup(
) -> object:
"""Trigger cluster wakeup

Trigger immediate wake up of the cluster. If the cluster is already in running state, the method does nothing.
Trigger immediate wake up of the cluster. If the cluster is already in running state, this endpoint does nothing.

:param project_id: (required)
:type project_id: str
Expand Down Expand Up @@ -3344,7 +3353,7 @@ def trigger_wakeup_with_http_info(
) -> ApiResponse[object]:
"""Trigger cluster wakeup

Trigger immediate wake up of the cluster. If the cluster is already in running state, the method does nothing.
Trigger immediate wake up of the cluster. If the cluster is already in running state, this endpoint does nothing.

:param project_id: (required)
:type project_id: str
Expand Down Expand Up @@ -3416,7 +3425,7 @@ def trigger_wakeup_without_preload_content(
) -> RESTResponseType:
"""Trigger cluster wakeup

Trigger immediate wake up of the cluster. If the cluster is already in running state, the method does nothing.
Trigger immediate wake up of the cluster. If the cluster is already in running state, this endpoint does nothing.

:param project_id: (required)
:type project_id: str
Expand Down
2 changes: 1 addition & 1 deletion services/ske/src/stackit/ske/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
STACKIT Kubernetes Engine API

The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks.
The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks.

The version of the OpenAPI document: 2.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion services/ske/src/stackit/ske/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
STACKIT Kubernetes Engine API

The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks.
The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks.

The version of the OpenAPI document: 2.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion services/ske/src/stackit/ske/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
STACKIT Kubernetes Engine API

The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks.
The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks.

The version of the OpenAPI document: 2.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
3 changes: 2 additions & 1 deletion services/ske/src/stackit/ske/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"""
STACKIT Kubernetes Engine API

The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks.
The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks.

The version of the OpenAPI document: 2.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down Expand Up @@ -33,6 +33,7 @@
)
from stackit.ske.models.hibernation import Hibernation
from stackit.ske.models.hibernation_schedule import HibernationSchedule
from stackit.ske.models.idp import IDP
from stackit.ske.models.image import Image
from stackit.ske.models.kubeconfig import Kubeconfig
from stackit.ske.models.kubernetes import Kubernetes
Expand Down
2 changes: 1 addition & 1 deletion services/ske/src/stackit/ske/models/acl.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
STACKIT Kubernetes Engine API

The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks.
The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks.

The version of the OpenAPI document: 2.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion services/ske/src/stackit/ske/models/availability_zone.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
STACKIT Kubernetes Engine API

The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks.
The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks.

The version of the OpenAPI document: 2.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion services/ske/src/stackit/ske/models/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
STACKIT Kubernetes Engine API
The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks.
The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks.
The version of the OpenAPI document: 2.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion services/ske/src/stackit/ske/models/cluster_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
STACKIT Kubernetes Engine API

The SKE API provides endpoints to create, update, delete clusters within STACKIT portal projects and to trigger further cluster management tasks.
The SKE API provides endpoints to create, update or delete clusters within STACKIT projects and to trigger further cluster management tasks.

The version of the OpenAPI document: 2.0
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
Loading