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
6 changes: 5 additions & 1 deletion services/ske/src/stackit/ske/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# flake8: noqa

"""
SKE-API
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.

Expand Down Expand Up @@ -40,6 +40,7 @@
"CredentialsRotationState",
"DNS",
"Extension",
"GetProviderOptionsRequestVersionState",
"Hibernation",
"HibernationSchedule",
"Image",
Expand Down Expand Up @@ -101,6 +102,9 @@
from stackit.ske.models.cri import CRI as CRI
from stackit.ske.models.dns import DNS as DNS
from stackit.ske.models.extension import Extension as Extension
from stackit.ske.models.get_provider_options_request_version_state import (
GetProviderOptionsRequestVersionState as GetProviderOptionsRequestVersionState,
)
from stackit.ske.models.hibernation import Hibernation as Hibernation
from stackit.ske.models.hibernation_schedule import (
HibernationSchedule as HibernationSchedule,
Expand Down
27 changes: 25 additions & 2 deletions services/ske/src/stackit/ske/api/default_api.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
SKE-API
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.

Expand All @@ -13,7 +13,13 @@

from typing import Any, Dict, List, Optional, Tuple, Union

from pydantic import Field, StrictFloat, StrictInt, StrictStr, validate_call
from pydantic import (
Field,
StrictFloat,
StrictInt,
StrictStr,
validate_call,
)
from stackit.core.configuration import Configuration
from typing_extensions import Annotated

Expand Down Expand Up @@ -1931,6 +1937,7 @@ def _list_clusters_serialize(
def list_provider_options(
self,
region: StrictStr,
version_state: Optional[StrictStr] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
Expand All @@ -1947,6 +1954,8 @@ def list_provider_options(

:param region: (required)
:type region: str
:param version_state:
:type version_state: str
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
Expand All @@ -1971,6 +1980,7 @@ def list_provider_options(

_param = self._list_provider_options_serialize(
region=region,
version_state=version_state,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
Expand All @@ -1993,6 +2003,7 @@ def list_provider_options(
def list_provider_options_with_http_info(
self,
region: StrictStr,
version_state: Optional[StrictStr] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
Expand All @@ -2009,6 +2020,8 @@ def list_provider_options_with_http_info(

:param region: (required)
:type region: str
:param version_state:
:type version_state: str
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
Expand All @@ -2033,6 +2046,7 @@ def list_provider_options_with_http_info(

_param = self._list_provider_options_serialize(
region=region,
version_state=version_state,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
Expand All @@ -2055,6 +2069,7 @@ def list_provider_options_with_http_info(
def list_provider_options_without_preload_content(
self,
region: StrictStr,
version_state: Optional[StrictStr] = None,
_request_timeout: Union[
None,
Annotated[StrictFloat, Field(gt=0)],
Expand All @@ -2071,6 +2086,8 @@ def list_provider_options_without_preload_content(

:param region: (required)
:type region: str
:param version_state:
:type version_state: str
:param _request_timeout: timeout setting for this request. If one
number provided, it will be total request
timeout. It can also be a pair (tuple) of
Expand All @@ -2095,6 +2112,7 @@ def list_provider_options_without_preload_content(

_param = self._list_provider_options_serialize(
region=region,
version_state=version_state,
_request_auth=_request_auth,
_content_type=_content_type,
_headers=_headers,
Expand All @@ -2112,6 +2130,7 @@ def list_provider_options_without_preload_content(
def _list_provider_options_serialize(
self,
region,
version_state,
_request_auth,
_content_type,
_headers,
Expand All @@ -2133,6 +2152,10 @@ def _list_provider_options_serialize(
if region is not None:
_path_params["region"] = region
# process the query parameters
if version_state is not None:

_query_params.append(("versionState", version_state))

# process the header parameters
# process the form parameters
# process the body parameter
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
@@ -1,7 +1,7 @@
# coding: utf-8

"""
SKE-API
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.

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
@@ -1,7 +1,7 @@
# coding: utf-8

"""
SKE-API
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.

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
@@ -1,7 +1,7 @@
# coding: utf-8

"""
SKE-API
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.

Expand Down
5 changes: 4 additions & 1 deletion services/ske/src/stackit/ske/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# flake8: noqa
"""
SKE-API
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.

Expand All @@ -28,6 +28,9 @@
from stackit.ske.models.cri import CRI
from stackit.ske.models.dns import DNS
from stackit.ske.models.extension import Extension
from stackit.ske.models.get_provider_options_request_version_state import (
GetProviderOptionsRequestVersionState,
)
from stackit.ske.models.hibernation import Hibernation
from stackit.ske.models.hibernation_schedule import HibernationSchedule
from stackit.ske.models.image import Image
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
@@ -1,7 +1,7 @@
# coding: utf-8

"""
SKE-API
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.

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
@@ -1,7 +1,7 @@
# coding: utf-8

"""
SKE-API
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.

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
@@ -1,7 +1,7 @@
# coding: utf-8

"""
SKE-API
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.

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
@@ -1,7 +1,7 @@
# coding: utf-8

"""
SKE-API
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.

Expand Down
2 changes: 1 addition & 1 deletion services/ske/src/stackit/ske/models/cluster_status.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
SKE-API
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.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
SKE-API
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.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
SKE-API
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.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
SKE-API
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.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
SKE-API
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.

Expand Down
2 changes: 1 addition & 1 deletion services/ske/src/stackit/ske/models/cri.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
SKE-API
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.

Expand Down
2 changes: 1 addition & 1 deletion services/ske/src/stackit/ske/models/dns.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
SKE-API
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.

Expand Down
2 changes: 1 addition & 1 deletion services/ske/src/stackit/ske/models/extension.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
SKE-API
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.

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# coding: utf-8

"""
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 version of the OpenAPI document: 2.0
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
""" # noqa: E501

from __future__ import annotations

import json
from enum import Enum

from typing_extensions import Self


class GetProviderOptionsRequestVersionState(str, Enum):
"""
GetProviderOptionsRequestVersionState
"""

"""
allowed enum values
"""
UNSPECIFIED = "UNSPECIFIED"
SUPPORTED = "SUPPORTED"

@classmethod
def from_json(cls, json_str: str) -> Self:
"""Create an instance of GetProviderOptionsRequestVersionState from a JSON string"""
return cls(json.loads(json_str))
2 changes: 1 addition & 1 deletion services/ske/src/stackit/ske/models/hibernation.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
SKE-API
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.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
SKE-API
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.

Expand Down
2 changes: 1 addition & 1 deletion services/ske/src/stackit/ske/models/image.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
SKE-API
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.

Expand Down
2 changes: 1 addition & 1 deletion services/ske/src/stackit/ske/models/kubeconfig.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
SKE-API
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.

Expand Down
2 changes: 1 addition & 1 deletion services/ske/src/stackit/ske/models/kubernetes.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
SKE-API
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.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
SKE-API
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.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding: utf-8

"""
SKE-API
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.

Expand Down
Loading