From ffceaa87d2720bfc389e7f6d669db50674e9168e Mon Sep 17 00:00:00 2001 From: Yu Liao Date: Mon, 14 Feb 2022 14:12:03 -0800 Subject: [PATCH] generated client change --- .../.openapi-generator/swagger.json.sha256 | 2 +- kubernetes/README.md | 158 ++++++++++-------- kubernetes/__init__.py | 2 +- kubernetes/client/__init__.py | 80 ++++++--- kubernetes/client/api_client.py | 4 +- kubernetes/client/configuration.py | 6 +- kubernetes/client/exceptions.py | 2 +- kubernetes/client/rest.py | 2 +- setup.py | 2 +- 9 files changed, 154 insertions(+), 104 deletions(-) diff --git a/kubernetes/.openapi-generator/swagger.json.sha256 b/kubernetes/.openapi-generator/swagger.json.sha256 index bd97f45eb..74f3c6fee 100644 --- a/kubernetes/.openapi-generator/swagger.json.sha256 +++ b/kubernetes/.openapi-generator/swagger.json.sha256 @@ -1 +1 @@ -a59e0e81071f521aef4b39f17c6b4703dbd7894a678a583c77131edec063219a \ No newline at end of file +48483013793661c5a774ef4113bb711cc47128d06ff276e06c733bbd243deec5 \ No newline at end of file diff --git a/kubernetes/README.md b/kubernetes/README.md index c161cd621..cad274217 100644 --- a/kubernetes/README.md +++ b/kubernetes/README.md @@ -3,8 +3,8 @@ No description provided (generated by Openapi Generator https://github.com/opena This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- API version: release-1.22 -- Package version: 22.0.0-snapshot +- API version: release-1.23 +- Package version: 23.0.0-snapshot - Build package: org.openapitools.codegen.languages.PythonClientCodegen ## Requirements. @@ -60,6 +60,8 @@ configuration.api_key['authorization'] = 'YOUR_API_KEY' # Defining host is optional and default to http://localhost configuration.host = "http://localhost" +# Defining host is optional and default to http://localhost +configuration.host = "http://localhost" # Enter a context with an instance of the API kubernetes.client with kubernetes.client.ApiClient(configuration) as api_client: # Create an instance of the API class @@ -206,6 +208,18 @@ Class | Method | HTTP request | Description *AutoscalingV1Api* | [**read_namespaced_horizontal_pod_autoscaler_status**](docs/AutoscalingV1Api.md#read_namespaced_horizontal_pod_autoscaler_status) | **GET** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | *AutoscalingV1Api* | [**replace_namespaced_horizontal_pod_autoscaler**](docs/AutoscalingV1Api.md#replace_namespaced_horizontal_pod_autoscaler) | **PUT** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name} | *AutoscalingV1Api* | [**replace_namespaced_horizontal_pod_autoscaler_status**](docs/AutoscalingV1Api.md#replace_namespaced_horizontal_pod_autoscaler_status) | **PUT** /apis/autoscaling/v1/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | +*AutoscalingV2Api* | [**create_namespaced_horizontal_pod_autoscaler**](docs/AutoscalingV2Api.md#create_namespaced_horizontal_pod_autoscaler) | **POST** /apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers | +*AutoscalingV2Api* | [**delete_collection_namespaced_horizontal_pod_autoscaler**](docs/AutoscalingV2Api.md#delete_collection_namespaced_horizontal_pod_autoscaler) | **DELETE** /apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers | +*AutoscalingV2Api* | [**delete_namespaced_horizontal_pod_autoscaler**](docs/AutoscalingV2Api.md#delete_namespaced_horizontal_pod_autoscaler) | **DELETE** /apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers/{name} | +*AutoscalingV2Api* | [**get_api_resources**](docs/AutoscalingV2Api.md#get_api_resources) | **GET** /apis/autoscaling/v2/ | +*AutoscalingV2Api* | [**list_horizontal_pod_autoscaler_for_all_namespaces**](docs/AutoscalingV2Api.md#list_horizontal_pod_autoscaler_for_all_namespaces) | **GET** /apis/autoscaling/v2/horizontalpodautoscalers | +*AutoscalingV2Api* | [**list_namespaced_horizontal_pod_autoscaler**](docs/AutoscalingV2Api.md#list_namespaced_horizontal_pod_autoscaler) | **GET** /apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers | +*AutoscalingV2Api* | [**patch_namespaced_horizontal_pod_autoscaler**](docs/AutoscalingV2Api.md#patch_namespaced_horizontal_pod_autoscaler) | **PATCH** /apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers/{name} | +*AutoscalingV2Api* | [**patch_namespaced_horizontal_pod_autoscaler_status**](docs/AutoscalingV2Api.md#patch_namespaced_horizontal_pod_autoscaler_status) | **PATCH** /apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | +*AutoscalingV2Api* | [**read_namespaced_horizontal_pod_autoscaler**](docs/AutoscalingV2Api.md#read_namespaced_horizontal_pod_autoscaler) | **GET** /apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers/{name} | +*AutoscalingV2Api* | [**read_namespaced_horizontal_pod_autoscaler_status**](docs/AutoscalingV2Api.md#read_namespaced_horizontal_pod_autoscaler_status) | **GET** /apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | +*AutoscalingV2Api* | [**replace_namespaced_horizontal_pod_autoscaler**](docs/AutoscalingV2Api.md#replace_namespaced_horizontal_pod_autoscaler) | **PUT** /apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers/{name} | +*AutoscalingV2Api* | [**replace_namespaced_horizontal_pod_autoscaler_status**](docs/AutoscalingV2Api.md#replace_namespaced_horizontal_pod_autoscaler_status) | **PUT** /apis/autoscaling/v2/namespaces/{namespace}/horizontalpodautoscalers/{name}/status | *AutoscalingV2beta1Api* | [**create_namespaced_horizontal_pod_autoscaler**](docs/AutoscalingV2beta1Api.md#create_namespaced_horizontal_pod_autoscaler) | **POST** /apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers | *AutoscalingV2beta1Api* | [**delete_collection_namespaced_horizontal_pod_autoscaler**](docs/AutoscalingV2beta1Api.md#delete_collection_namespaced_horizontal_pod_autoscaler) | **DELETE** /apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers | *AutoscalingV2beta1Api* | [**delete_namespaced_horizontal_pod_autoscaler**](docs/AutoscalingV2beta1Api.md#delete_namespaced_horizontal_pod_autoscaler) | **DELETE** /apis/autoscaling/v2beta1/namespaces/{namespace}/horizontalpodautoscalers/{name} | @@ -369,6 +383,7 @@ Class | Method | HTTP request | Description *CoreV1Api* | [**delete_collection_namespaced_replication_controller**](docs/CoreV1Api.md#delete_collection_namespaced_replication_controller) | **DELETE** /api/v1/namespaces/{namespace}/replicationcontrollers | *CoreV1Api* | [**delete_collection_namespaced_resource_quota**](docs/CoreV1Api.md#delete_collection_namespaced_resource_quota) | **DELETE** /api/v1/namespaces/{namespace}/resourcequotas | *CoreV1Api* | [**delete_collection_namespaced_secret**](docs/CoreV1Api.md#delete_collection_namespaced_secret) | **DELETE** /api/v1/namespaces/{namespace}/secrets | +*CoreV1Api* | [**delete_collection_namespaced_service**](docs/CoreV1Api.md#delete_collection_namespaced_service) | **DELETE** /api/v1/namespaces/{namespace}/services | *CoreV1Api* | [**delete_collection_namespaced_service_account**](docs/CoreV1Api.md#delete_collection_namespaced_service_account) | **DELETE** /api/v1/namespaces/{namespace}/serviceaccounts | *CoreV1Api* | [**delete_collection_node**](docs/CoreV1Api.md#delete_collection_node) | **DELETE** /api/v1/nodes | *CoreV1Api* | [**delete_collection_persistent_volume**](docs/CoreV1Api.md#delete_collection_persistent_volume) | **DELETE** /api/v1/persistentvolumes | @@ -580,6 +595,27 @@ Class | Method | HTTP request | Description *FlowcontrolApiserverV1beta1Api* | [**replace_flow_schema_status**](docs/FlowcontrolApiserverV1beta1Api.md#replace_flow_schema_status) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1beta1/flowschemas/{name}/status | *FlowcontrolApiserverV1beta1Api* | [**replace_priority_level_configuration**](docs/FlowcontrolApiserverV1beta1Api.md#replace_priority_level_configuration) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/{name} | *FlowcontrolApiserverV1beta1Api* | [**replace_priority_level_configuration_status**](docs/FlowcontrolApiserverV1beta1Api.md#replace_priority_level_configuration_status) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1beta1/prioritylevelconfigurations/{name}/status | +*FlowcontrolApiserverV1beta2Api* | [**create_flow_schema**](docs/FlowcontrolApiserverV1beta2Api.md#create_flow_schema) | **POST** /apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas | +*FlowcontrolApiserverV1beta2Api* | [**create_priority_level_configuration**](docs/FlowcontrolApiserverV1beta2Api.md#create_priority_level_configuration) | **POST** /apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations | +*FlowcontrolApiserverV1beta2Api* | [**delete_collection_flow_schema**](docs/FlowcontrolApiserverV1beta2Api.md#delete_collection_flow_schema) | **DELETE** /apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas | +*FlowcontrolApiserverV1beta2Api* | [**delete_collection_priority_level_configuration**](docs/FlowcontrolApiserverV1beta2Api.md#delete_collection_priority_level_configuration) | **DELETE** /apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations | +*FlowcontrolApiserverV1beta2Api* | [**delete_flow_schema**](docs/FlowcontrolApiserverV1beta2Api.md#delete_flow_schema) | **DELETE** /apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name} | +*FlowcontrolApiserverV1beta2Api* | [**delete_priority_level_configuration**](docs/FlowcontrolApiserverV1beta2Api.md#delete_priority_level_configuration) | **DELETE** /apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name} | +*FlowcontrolApiserverV1beta2Api* | [**get_api_resources**](docs/FlowcontrolApiserverV1beta2Api.md#get_api_resources) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1beta2/ | +*FlowcontrolApiserverV1beta2Api* | [**list_flow_schema**](docs/FlowcontrolApiserverV1beta2Api.md#list_flow_schema) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas | +*FlowcontrolApiserverV1beta2Api* | [**list_priority_level_configuration**](docs/FlowcontrolApiserverV1beta2Api.md#list_priority_level_configuration) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations | +*FlowcontrolApiserverV1beta2Api* | [**patch_flow_schema**](docs/FlowcontrolApiserverV1beta2Api.md#patch_flow_schema) | **PATCH** /apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name} | +*FlowcontrolApiserverV1beta2Api* | [**patch_flow_schema_status**](docs/FlowcontrolApiserverV1beta2Api.md#patch_flow_schema_status) | **PATCH** /apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name}/status | +*FlowcontrolApiserverV1beta2Api* | [**patch_priority_level_configuration**](docs/FlowcontrolApiserverV1beta2Api.md#patch_priority_level_configuration) | **PATCH** /apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name} | +*FlowcontrolApiserverV1beta2Api* | [**patch_priority_level_configuration_status**](docs/FlowcontrolApiserverV1beta2Api.md#patch_priority_level_configuration_status) | **PATCH** /apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name}/status | +*FlowcontrolApiserverV1beta2Api* | [**read_flow_schema**](docs/FlowcontrolApiserverV1beta2Api.md#read_flow_schema) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name} | +*FlowcontrolApiserverV1beta2Api* | [**read_flow_schema_status**](docs/FlowcontrolApiserverV1beta2Api.md#read_flow_schema_status) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name}/status | +*FlowcontrolApiserverV1beta2Api* | [**read_priority_level_configuration**](docs/FlowcontrolApiserverV1beta2Api.md#read_priority_level_configuration) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name} | +*FlowcontrolApiserverV1beta2Api* | [**read_priority_level_configuration_status**](docs/FlowcontrolApiserverV1beta2Api.md#read_priority_level_configuration_status) | **GET** /apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name}/status | +*FlowcontrolApiserverV1beta2Api* | [**replace_flow_schema**](docs/FlowcontrolApiserverV1beta2Api.md#replace_flow_schema) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name} | +*FlowcontrolApiserverV1beta2Api* | [**replace_flow_schema_status**](docs/FlowcontrolApiserverV1beta2Api.md#replace_flow_schema_status) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1beta2/flowschemas/{name}/status | +*FlowcontrolApiserverV1beta2Api* | [**replace_priority_level_configuration**](docs/FlowcontrolApiserverV1beta2Api.md#replace_priority_level_configuration) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name} | +*FlowcontrolApiserverV1beta2Api* | [**replace_priority_level_configuration_status**](docs/FlowcontrolApiserverV1beta2Api.md#replace_priority_level_configuration_status) | **PUT** /apis/flowcontrol.apiserver.k8s.io/v1beta2/prioritylevelconfigurations/{name}/status | *InternalApiserverApi* | [**get_api_group**](docs/InternalApiserverApi.md#get_api_group) | **GET** /apis/internal.apiserver.k8s.io/ | *InternalApiserverV1alpha1Api* | [**create_storage_version**](docs/InternalApiserverV1alpha1Api.md#create_storage_version) | **POST** /apis/internal.apiserver.k8s.io/v1alpha1/storageversions | *InternalApiserverV1alpha1Api* | [**delete_collection_storage_version**](docs/InternalApiserverV1alpha1Api.md#delete_collection_storage_version) | **DELETE** /apis/internal.apiserver.k8s.io/v1alpha1/storageversions | @@ -712,37 +748,6 @@ Class | Method | HTTP request | Description *RbacAuthorizationV1Api* | [**replace_cluster_role_binding**](docs/RbacAuthorizationV1Api.md#replace_cluster_role_binding) | **PUT** /apis/rbac.authorization.k8s.io/v1/clusterrolebindings/{name} | *RbacAuthorizationV1Api* | [**replace_namespaced_role**](docs/RbacAuthorizationV1Api.md#replace_namespaced_role) | **PUT** /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/roles/{name} | *RbacAuthorizationV1Api* | [**replace_namespaced_role_binding**](docs/RbacAuthorizationV1Api.md#replace_namespaced_role_binding) | **PUT** /apis/rbac.authorization.k8s.io/v1/namespaces/{namespace}/rolebindings/{name} | -*RbacAuthorizationV1alpha1Api* | [**create_cluster_role**](docs/RbacAuthorizationV1alpha1Api.md#create_cluster_role) | **POST** /apis/rbac.authorization.k8s.io/v1alpha1/clusterroles | -*RbacAuthorizationV1alpha1Api* | [**create_cluster_role_binding**](docs/RbacAuthorizationV1alpha1Api.md#create_cluster_role_binding) | **POST** /apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings | -*RbacAuthorizationV1alpha1Api* | [**create_namespaced_role**](docs/RbacAuthorizationV1alpha1Api.md#create_namespaced_role) | **POST** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles | -*RbacAuthorizationV1alpha1Api* | [**create_namespaced_role_binding**](docs/RbacAuthorizationV1alpha1Api.md#create_namespaced_role_binding) | **POST** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings | -*RbacAuthorizationV1alpha1Api* | [**delete_cluster_role**](docs/RbacAuthorizationV1alpha1Api.md#delete_cluster_role) | **DELETE** /apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name} | -*RbacAuthorizationV1alpha1Api* | [**delete_cluster_role_binding**](docs/RbacAuthorizationV1alpha1Api.md#delete_cluster_role_binding) | **DELETE** /apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name} | -*RbacAuthorizationV1alpha1Api* | [**delete_collection_cluster_role**](docs/RbacAuthorizationV1alpha1Api.md#delete_collection_cluster_role) | **DELETE** /apis/rbac.authorization.k8s.io/v1alpha1/clusterroles | -*RbacAuthorizationV1alpha1Api* | [**delete_collection_cluster_role_binding**](docs/RbacAuthorizationV1alpha1Api.md#delete_collection_cluster_role_binding) | **DELETE** /apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings | -*RbacAuthorizationV1alpha1Api* | [**delete_collection_namespaced_role**](docs/RbacAuthorizationV1alpha1Api.md#delete_collection_namespaced_role) | **DELETE** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles | -*RbacAuthorizationV1alpha1Api* | [**delete_collection_namespaced_role_binding**](docs/RbacAuthorizationV1alpha1Api.md#delete_collection_namespaced_role_binding) | **DELETE** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings | -*RbacAuthorizationV1alpha1Api* | [**delete_namespaced_role**](docs/RbacAuthorizationV1alpha1Api.md#delete_namespaced_role) | **DELETE** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name} | -*RbacAuthorizationV1alpha1Api* | [**delete_namespaced_role_binding**](docs/RbacAuthorizationV1alpha1Api.md#delete_namespaced_role_binding) | **DELETE** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name} | -*RbacAuthorizationV1alpha1Api* | [**get_api_resources**](docs/RbacAuthorizationV1alpha1Api.md#get_api_resources) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/ | -*RbacAuthorizationV1alpha1Api* | [**list_cluster_role**](docs/RbacAuthorizationV1alpha1Api.md#list_cluster_role) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/clusterroles | -*RbacAuthorizationV1alpha1Api* | [**list_cluster_role_binding**](docs/RbacAuthorizationV1alpha1Api.md#list_cluster_role_binding) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings | -*RbacAuthorizationV1alpha1Api* | [**list_namespaced_role**](docs/RbacAuthorizationV1alpha1Api.md#list_namespaced_role) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles | -*RbacAuthorizationV1alpha1Api* | [**list_namespaced_role_binding**](docs/RbacAuthorizationV1alpha1Api.md#list_namespaced_role_binding) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings | -*RbacAuthorizationV1alpha1Api* | [**list_role_binding_for_all_namespaces**](docs/RbacAuthorizationV1alpha1Api.md#list_role_binding_for_all_namespaces) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/rolebindings | -*RbacAuthorizationV1alpha1Api* | [**list_role_for_all_namespaces**](docs/RbacAuthorizationV1alpha1Api.md#list_role_for_all_namespaces) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/roles | -*RbacAuthorizationV1alpha1Api* | [**patch_cluster_role**](docs/RbacAuthorizationV1alpha1Api.md#patch_cluster_role) | **PATCH** /apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name} | -*RbacAuthorizationV1alpha1Api* | [**patch_cluster_role_binding**](docs/RbacAuthorizationV1alpha1Api.md#patch_cluster_role_binding) | **PATCH** /apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name} | -*RbacAuthorizationV1alpha1Api* | [**patch_namespaced_role**](docs/RbacAuthorizationV1alpha1Api.md#patch_namespaced_role) | **PATCH** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name} | -*RbacAuthorizationV1alpha1Api* | [**patch_namespaced_role_binding**](docs/RbacAuthorizationV1alpha1Api.md#patch_namespaced_role_binding) | **PATCH** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name} | -*RbacAuthorizationV1alpha1Api* | [**read_cluster_role**](docs/RbacAuthorizationV1alpha1Api.md#read_cluster_role) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name} | -*RbacAuthorizationV1alpha1Api* | [**read_cluster_role_binding**](docs/RbacAuthorizationV1alpha1Api.md#read_cluster_role_binding) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name} | -*RbacAuthorizationV1alpha1Api* | [**read_namespaced_role**](docs/RbacAuthorizationV1alpha1Api.md#read_namespaced_role) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name} | -*RbacAuthorizationV1alpha1Api* | [**read_namespaced_role_binding**](docs/RbacAuthorizationV1alpha1Api.md#read_namespaced_role_binding) | **GET** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name} | -*RbacAuthorizationV1alpha1Api* | [**replace_cluster_role**](docs/RbacAuthorizationV1alpha1Api.md#replace_cluster_role) | **PUT** /apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/{name} | -*RbacAuthorizationV1alpha1Api* | [**replace_cluster_role_binding**](docs/RbacAuthorizationV1alpha1Api.md#replace_cluster_role_binding) | **PUT** /apis/rbac.authorization.k8s.io/v1alpha1/clusterrolebindings/{name} | -*RbacAuthorizationV1alpha1Api* | [**replace_namespaced_role**](docs/RbacAuthorizationV1alpha1Api.md#replace_namespaced_role) | **PUT** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/roles/{name} | -*RbacAuthorizationV1alpha1Api* | [**replace_namespaced_role_binding**](docs/RbacAuthorizationV1alpha1Api.md#replace_namespaced_role_binding) | **PUT** /apis/rbac.authorization.k8s.io/v1alpha1/namespaces/{namespace}/rolebindings/{name} | *SchedulingApi* | [**get_api_group**](docs/SchedulingApi.md#get_api_group) | **GET** /apis/scheduling.k8s.io/ | *SchedulingV1Api* | [**create_priority_class**](docs/SchedulingV1Api.md#create_priority_class) | **POST** /apis/scheduling.k8s.io/v1/priorityclasses | *SchedulingV1Api* | [**delete_collection_priority_class**](docs/SchedulingV1Api.md#delete_collection_priority_class) | **DELETE** /apis/scheduling.k8s.io/v1/priorityclasses | @@ -752,14 +757,6 @@ Class | Method | HTTP request | Description *SchedulingV1Api* | [**patch_priority_class**](docs/SchedulingV1Api.md#patch_priority_class) | **PATCH** /apis/scheduling.k8s.io/v1/priorityclasses/{name} | *SchedulingV1Api* | [**read_priority_class**](docs/SchedulingV1Api.md#read_priority_class) | **GET** /apis/scheduling.k8s.io/v1/priorityclasses/{name} | *SchedulingV1Api* | [**replace_priority_class**](docs/SchedulingV1Api.md#replace_priority_class) | **PUT** /apis/scheduling.k8s.io/v1/priorityclasses/{name} | -*SchedulingV1alpha1Api* | [**create_priority_class**](docs/SchedulingV1alpha1Api.md#create_priority_class) | **POST** /apis/scheduling.k8s.io/v1alpha1/priorityclasses | -*SchedulingV1alpha1Api* | [**delete_collection_priority_class**](docs/SchedulingV1alpha1Api.md#delete_collection_priority_class) | **DELETE** /apis/scheduling.k8s.io/v1alpha1/priorityclasses | -*SchedulingV1alpha1Api* | [**delete_priority_class**](docs/SchedulingV1alpha1Api.md#delete_priority_class) | **DELETE** /apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name} | -*SchedulingV1alpha1Api* | [**get_api_resources**](docs/SchedulingV1alpha1Api.md#get_api_resources) | **GET** /apis/scheduling.k8s.io/v1alpha1/ | -*SchedulingV1alpha1Api* | [**list_priority_class**](docs/SchedulingV1alpha1Api.md#list_priority_class) | **GET** /apis/scheduling.k8s.io/v1alpha1/priorityclasses | -*SchedulingV1alpha1Api* | [**patch_priority_class**](docs/SchedulingV1alpha1Api.md#patch_priority_class) | **PATCH** /apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name} | -*SchedulingV1alpha1Api* | [**read_priority_class**](docs/SchedulingV1alpha1Api.md#read_priority_class) | **GET** /apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name} | -*SchedulingV1alpha1Api* | [**replace_priority_class**](docs/SchedulingV1alpha1Api.md#replace_priority_class) | **PUT** /apis/scheduling.k8s.io/v1alpha1/priorityclasses/{name} | *StorageApi* | [**get_api_group**](docs/StorageApi.md#get_api_group) | **GET** /apis/storage.k8s.io/ | *StorageV1Api* | [**create_csi_driver**](docs/StorageV1Api.md#create_csi_driver) | **POST** /apis/storage.k8s.io/v1/csidrivers | *StorageV1Api* | [**create_csi_node**](docs/StorageV1Api.md#create_csi_node) | **POST** /apis/storage.k8s.io/v1/csinodes | @@ -794,21 +791,14 @@ Class | Method | HTTP request | Description *StorageV1Api* | [**replace_volume_attachment**](docs/StorageV1Api.md#replace_volume_attachment) | **PUT** /apis/storage.k8s.io/v1/volumeattachments/{name} | *StorageV1Api* | [**replace_volume_attachment_status**](docs/StorageV1Api.md#replace_volume_attachment_status) | **PUT** /apis/storage.k8s.io/v1/volumeattachments/{name}/status | *StorageV1alpha1Api* | [**create_namespaced_csi_storage_capacity**](docs/StorageV1alpha1Api.md#create_namespaced_csi_storage_capacity) | **POST** /apis/storage.k8s.io/v1alpha1/namespaces/{namespace}/csistoragecapacities | -*StorageV1alpha1Api* | [**create_volume_attachment**](docs/StorageV1alpha1Api.md#create_volume_attachment) | **POST** /apis/storage.k8s.io/v1alpha1/volumeattachments | *StorageV1alpha1Api* | [**delete_collection_namespaced_csi_storage_capacity**](docs/StorageV1alpha1Api.md#delete_collection_namespaced_csi_storage_capacity) | **DELETE** /apis/storage.k8s.io/v1alpha1/namespaces/{namespace}/csistoragecapacities | -*StorageV1alpha1Api* | [**delete_collection_volume_attachment**](docs/StorageV1alpha1Api.md#delete_collection_volume_attachment) | **DELETE** /apis/storage.k8s.io/v1alpha1/volumeattachments | *StorageV1alpha1Api* | [**delete_namespaced_csi_storage_capacity**](docs/StorageV1alpha1Api.md#delete_namespaced_csi_storage_capacity) | **DELETE** /apis/storage.k8s.io/v1alpha1/namespaces/{namespace}/csistoragecapacities/{name} | -*StorageV1alpha1Api* | [**delete_volume_attachment**](docs/StorageV1alpha1Api.md#delete_volume_attachment) | **DELETE** /apis/storage.k8s.io/v1alpha1/volumeattachments/{name} | *StorageV1alpha1Api* | [**get_api_resources**](docs/StorageV1alpha1Api.md#get_api_resources) | **GET** /apis/storage.k8s.io/v1alpha1/ | *StorageV1alpha1Api* | [**list_csi_storage_capacity_for_all_namespaces**](docs/StorageV1alpha1Api.md#list_csi_storage_capacity_for_all_namespaces) | **GET** /apis/storage.k8s.io/v1alpha1/csistoragecapacities | *StorageV1alpha1Api* | [**list_namespaced_csi_storage_capacity**](docs/StorageV1alpha1Api.md#list_namespaced_csi_storage_capacity) | **GET** /apis/storage.k8s.io/v1alpha1/namespaces/{namespace}/csistoragecapacities | -*StorageV1alpha1Api* | [**list_volume_attachment**](docs/StorageV1alpha1Api.md#list_volume_attachment) | **GET** /apis/storage.k8s.io/v1alpha1/volumeattachments | *StorageV1alpha1Api* | [**patch_namespaced_csi_storage_capacity**](docs/StorageV1alpha1Api.md#patch_namespaced_csi_storage_capacity) | **PATCH** /apis/storage.k8s.io/v1alpha1/namespaces/{namespace}/csistoragecapacities/{name} | -*StorageV1alpha1Api* | [**patch_volume_attachment**](docs/StorageV1alpha1Api.md#patch_volume_attachment) | **PATCH** /apis/storage.k8s.io/v1alpha1/volumeattachments/{name} | *StorageV1alpha1Api* | [**read_namespaced_csi_storage_capacity**](docs/StorageV1alpha1Api.md#read_namespaced_csi_storage_capacity) | **GET** /apis/storage.k8s.io/v1alpha1/namespaces/{namespace}/csistoragecapacities/{name} | -*StorageV1alpha1Api* | [**read_volume_attachment**](docs/StorageV1alpha1Api.md#read_volume_attachment) | **GET** /apis/storage.k8s.io/v1alpha1/volumeattachments/{name} | *StorageV1alpha1Api* | [**replace_namespaced_csi_storage_capacity**](docs/StorageV1alpha1Api.md#replace_namespaced_csi_storage_capacity) | **PUT** /apis/storage.k8s.io/v1alpha1/namespaces/{namespace}/csistoragecapacities/{name} | -*StorageV1alpha1Api* | [**replace_volume_attachment**](docs/StorageV1alpha1Api.md#replace_volume_attachment) | **PUT** /apis/storage.k8s.io/v1alpha1/volumeattachments/{name} | *StorageV1beta1Api* | [**create_namespaced_csi_storage_capacity**](docs/StorageV1beta1Api.md#create_namespaced_csi_storage_capacity) | **POST** /apis/storage.k8s.io/v1beta1/namespaces/{namespace}/csistoragecapacities | *StorageV1beta1Api* | [**delete_collection_namespaced_csi_storage_capacity**](docs/StorageV1beta1Api.md#delete_collection_namespaced_csi_storage_capacity) | **DELETE** /apis/storage.k8s.io/v1beta1/namespaces/{namespace}/csistoragecapacities | *StorageV1beta1Api* | [**delete_namespaced_csi_storage_capacity**](docs/StorageV1beta1Api.md#delete_namespaced_csi_storage_capacity) | **DELETE** /apis/storage.k8s.io/v1beta1/namespaces/{namespace}/csistoragecapacities/{name} | @@ -961,6 +951,7 @@ Class | Method | HTTP request | Description - [V1FlockerVolumeSource](docs/V1FlockerVolumeSource.md) - [V1ForZone](docs/V1ForZone.md) - [V1GCEPersistentDiskVolumeSource](docs/V1GCEPersistentDiskVolumeSource.md) + - [V1GRPCAction](docs/V1GRPCAction.md) - [V1GitRepoVolumeSource](docs/V1GitRepoVolumeSource.md) - [V1GlusterfsPersistentVolumeSource](docs/V1GlusterfsPersistentVolumeSource.md) - [V1GlusterfsVolumeSource](docs/V1GlusterfsVolumeSource.md) @@ -969,7 +960,6 @@ Class | Method | HTTP request | Description - [V1HTTPHeader](docs/V1HTTPHeader.md) - [V1HTTPIngressPath](docs/V1HTTPIngressPath.md) - [V1HTTPIngressRuleValue](docs/V1HTTPIngressRuleValue.md) - - [V1Handler](docs/V1Handler.md) - [V1HorizontalPodAutoscaler](docs/V1HorizontalPodAutoscaler.md) - [V1HorizontalPodAutoscalerList](docs/V1HorizontalPodAutoscalerList.md) - [V1HorizontalPodAutoscalerSpec](docs/V1HorizontalPodAutoscalerSpec.md) @@ -1005,6 +995,7 @@ Class | Method | HTTP request | Description - [V1LeaseList](docs/V1LeaseList.md) - [V1LeaseSpec](docs/V1LeaseSpec.md) - [V1Lifecycle](docs/V1Lifecycle.md) + - [V1LifecycleHandler](docs/V1LifecycleHandler.md) - [V1LimitRange](docs/V1LimitRange.md) - [V1LimitRangeItem](docs/V1LimitRangeItem.md) - [V1LimitRangeList](docs/V1LimitRangeList.md) @@ -1078,6 +1069,7 @@ Class | Method | HTTP request | Description - [V1PodDisruptionBudgetStatus](docs/V1PodDisruptionBudgetStatus.md) - [V1PodIP](docs/V1PodIP.md) - [V1PodList](docs/V1PodList.md) + - [V1PodOS](docs/V1PodOS.md) - [V1PodReadinessGate](docs/V1PodReadinessGate.md) - [V1PodSecurityContext](docs/V1PodSecurityContext.md) - [V1PodSpec](docs/V1PodSpec.md) @@ -1162,6 +1154,7 @@ Class | Method | HTTP request | Description - [V1StatefulSet](docs/V1StatefulSet.md) - [V1StatefulSetCondition](docs/V1StatefulSetCondition.md) - [V1StatefulSetList](docs/V1StatefulSetList.md) + - [V1StatefulSetPersistentVolumeClaimRetentionPolicy](docs/V1StatefulSetPersistentVolumeClaimRetentionPolicy.md) - [V1StatefulSetSpec](docs/V1StatefulSetSpec.md) - [V1StatefulSetStatus](docs/V1StatefulSetStatus.md) - [V1StatefulSetUpdateStrategy](docs/V1StatefulSetUpdateStrategy.md) @@ -1195,6 +1188,7 @@ Class | Method | HTTP request | Description - [V1ValidatingWebhook](docs/V1ValidatingWebhook.md) - [V1ValidatingWebhookConfiguration](docs/V1ValidatingWebhookConfiguration.md) - [V1ValidatingWebhookConfigurationList](docs/V1ValidatingWebhookConfigurationList.md) + - [V1ValidationRule](docs/V1ValidationRule.md) - [V1Volume](docs/V1Volume.md) - [V1VolumeAttachment](docs/V1VolumeAttachment.md) - [V1VolumeAttachmentList](docs/V1VolumeAttachmentList.md) @@ -1212,22 +1206,9 @@ Class | Method | HTTP request | Description - [V1WebhookConversion](docs/V1WebhookConversion.md) - [V1WeightedPodAffinityTerm](docs/V1WeightedPodAffinityTerm.md) - [V1WindowsSecurityContextOptions](docs/V1WindowsSecurityContextOptions.md) - - [V1alpha1AggregationRule](docs/V1alpha1AggregationRule.md) - [V1alpha1CSIStorageCapacity](docs/V1alpha1CSIStorageCapacity.md) - [V1alpha1CSIStorageCapacityList](docs/V1alpha1CSIStorageCapacityList.md) - - [V1alpha1ClusterRole](docs/V1alpha1ClusterRole.md) - - [V1alpha1ClusterRoleBinding](docs/V1alpha1ClusterRoleBinding.md) - - [V1alpha1ClusterRoleBindingList](docs/V1alpha1ClusterRoleBindingList.md) - - [V1alpha1ClusterRoleList](docs/V1alpha1ClusterRoleList.md) - [V1alpha1Overhead](docs/V1alpha1Overhead.md) - - [V1alpha1PolicyRule](docs/V1alpha1PolicyRule.md) - - [V1alpha1PriorityClass](docs/V1alpha1PriorityClass.md) - - [V1alpha1PriorityClassList](docs/V1alpha1PriorityClassList.md) - - [V1alpha1Role](docs/V1alpha1Role.md) - - [V1alpha1RoleBinding](docs/V1alpha1RoleBinding.md) - - [V1alpha1RoleBindingList](docs/V1alpha1RoleBindingList.md) - - [V1alpha1RoleList](docs/V1alpha1RoleList.md) - - [V1alpha1RoleRef](docs/V1alpha1RoleRef.md) - [V1alpha1RuntimeClass](docs/V1alpha1RuntimeClass.md) - [V1alpha1RuntimeClassList](docs/V1alpha1RuntimeClassList.md) - [V1alpha1RuntimeClassSpec](docs/V1alpha1RuntimeClassSpec.md) @@ -1237,13 +1218,6 @@ Class | Method | HTTP request | Description - [V1alpha1StorageVersionCondition](docs/V1alpha1StorageVersionCondition.md) - [V1alpha1StorageVersionList](docs/V1alpha1StorageVersionList.md) - [V1alpha1StorageVersionStatus](docs/V1alpha1StorageVersionStatus.md) - - [V1alpha1Subject](docs/V1alpha1Subject.md) - - [V1alpha1VolumeAttachment](docs/V1alpha1VolumeAttachment.md) - - [V1alpha1VolumeAttachmentList](docs/V1alpha1VolumeAttachmentList.md) - - [V1alpha1VolumeAttachmentSource](docs/V1alpha1VolumeAttachmentSource.md) - - [V1alpha1VolumeAttachmentSpec](docs/V1alpha1VolumeAttachmentSpec.md) - - [V1alpha1VolumeAttachmentStatus](docs/V1alpha1VolumeAttachmentStatus.md) - - [V1alpha1VolumeError](docs/V1alpha1VolumeError.md) - [V1beta1AllowedCSIDriver](docs/V1beta1AllowedCSIDriver.md) - [V1beta1AllowedFlexVolume](docs/V1beta1AllowedFlexVolume.md) - [V1beta1AllowedHostPath](docs/V1beta1AllowedHostPath.md) @@ -1305,6 +1279,52 @@ Class | Method | HTTP request | Description - [V1beta1Subject](docs/V1beta1Subject.md) - [V1beta1SupplementalGroupsStrategyOptions](docs/V1beta1SupplementalGroupsStrategyOptions.md) - [V1beta1UserSubject](docs/V1beta1UserSubject.md) + - [V1beta2FlowDistinguisherMethod](docs/V1beta2FlowDistinguisherMethod.md) + - [V1beta2FlowSchema](docs/V1beta2FlowSchema.md) + - [V1beta2FlowSchemaCondition](docs/V1beta2FlowSchemaCondition.md) + - [V1beta2FlowSchemaList](docs/V1beta2FlowSchemaList.md) + - [V1beta2FlowSchemaSpec](docs/V1beta2FlowSchemaSpec.md) + - [V1beta2FlowSchemaStatus](docs/V1beta2FlowSchemaStatus.md) + - [V1beta2GroupSubject](docs/V1beta2GroupSubject.md) + - [V1beta2LimitResponse](docs/V1beta2LimitResponse.md) + - [V1beta2LimitedPriorityLevelConfiguration](docs/V1beta2LimitedPriorityLevelConfiguration.md) + - [V1beta2NonResourcePolicyRule](docs/V1beta2NonResourcePolicyRule.md) + - [V1beta2PolicyRulesWithSubjects](docs/V1beta2PolicyRulesWithSubjects.md) + - [V1beta2PriorityLevelConfiguration](docs/V1beta2PriorityLevelConfiguration.md) + - [V1beta2PriorityLevelConfigurationCondition](docs/V1beta2PriorityLevelConfigurationCondition.md) + - [V1beta2PriorityLevelConfigurationList](docs/V1beta2PriorityLevelConfigurationList.md) + - [V1beta2PriorityLevelConfigurationReference](docs/V1beta2PriorityLevelConfigurationReference.md) + - [V1beta2PriorityLevelConfigurationSpec](docs/V1beta2PriorityLevelConfigurationSpec.md) + - [V1beta2PriorityLevelConfigurationStatus](docs/V1beta2PriorityLevelConfigurationStatus.md) + - [V1beta2QueuingConfiguration](docs/V1beta2QueuingConfiguration.md) + - [V1beta2ResourcePolicyRule](docs/V1beta2ResourcePolicyRule.md) + - [V1beta2ServiceAccountSubject](docs/V1beta2ServiceAccountSubject.md) + - [V1beta2Subject](docs/V1beta2Subject.md) + - [V1beta2UserSubject](docs/V1beta2UserSubject.md) + - [V2ContainerResourceMetricSource](docs/V2ContainerResourceMetricSource.md) + - [V2ContainerResourceMetricStatus](docs/V2ContainerResourceMetricStatus.md) + - [V2CrossVersionObjectReference](docs/V2CrossVersionObjectReference.md) + - [V2ExternalMetricSource](docs/V2ExternalMetricSource.md) + - [V2ExternalMetricStatus](docs/V2ExternalMetricStatus.md) + - [V2HPAScalingPolicy](docs/V2HPAScalingPolicy.md) + - [V2HPAScalingRules](docs/V2HPAScalingRules.md) + - [V2HorizontalPodAutoscaler](docs/V2HorizontalPodAutoscaler.md) + - [V2HorizontalPodAutoscalerBehavior](docs/V2HorizontalPodAutoscalerBehavior.md) + - [V2HorizontalPodAutoscalerCondition](docs/V2HorizontalPodAutoscalerCondition.md) + - [V2HorizontalPodAutoscalerList](docs/V2HorizontalPodAutoscalerList.md) + - [V2HorizontalPodAutoscalerSpec](docs/V2HorizontalPodAutoscalerSpec.md) + - [V2HorizontalPodAutoscalerStatus](docs/V2HorizontalPodAutoscalerStatus.md) + - [V2MetricIdentifier](docs/V2MetricIdentifier.md) + - [V2MetricSpec](docs/V2MetricSpec.md) + - [V2MetricStatus](docs/V2MetricStatus.md) + - [V2MetricTarget](docs/V2MetricTarget.md) + - [V2MetricValueStatus](docs/V2MetricValueStatus.md) + - [V2ObjectMetricSource](docs/V2ObjectMetricSource.md) + - [V2ObjectMetricStatus](docs/V2ObjectMetricStatus.md) + - [V2PodsMetricSource](docs/V2PodsMetricSource.md) + - [V2PodsMetricStatus](docs/V2PodsMetricStatus.md) + - [V2ResourceMetricSource](docs/V2ResourceMetricSource.md) + - [V2ResourceMetricStatus](docs/V2ResourceMetricStatus.md) - [V2beta1ContainerResourceMetricSource](docs/V2beta1ContainerResourceMetricSource.md) - [V2beta1ContainerResourceMetricStatus](docs/V2beta1ContainerResourceMetricStatus.md) - [V2beta1CrossVersionObjectReference](docs/V2beta1CrossVersionObjectReference.md) diff --git a/kubernetes/__init__.py b/kubernetes/__init__.py index f6ee3445f..a3752a0fe 100644 --- a/kubernetes/__init__.py +++ b/kubernetes/__init__.py @@ -14,7 +14,7 @@ __project__ = 'kubernetes' # The version is auto-updated. Please do not edit. -__version__ = "22.0.0-snapshot" +__version__ = "23.0.0-snapshot" import kubernetes.client import kubernetes.config diff --git a/kubernetes/client/__init__.py b/kubernetes/client/__init__.py index 7a57b32c6..b75f1ac91 100644 --- a/kubernetes/client/__init__.py +++ b/kubernetes/client/__init__.py @@ -7,14 +7,14 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.22 + The version of the OpenAPI document: release-1.23 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import -__version__ = "22.0.0-snapshot" +__version__ = "23.0.0-snapshot" # import apis into sdk package from kubernetes.client.api.well_known_api import WellKnownApi @@ -33,6 +33,7 @@ from kubernetes.client.api.authorization_api import AuthorizationApi from kubernetes.client.api.authorization_v1_api import AuthorizationV1Api from kubernetes.client.api.autoscaling_api import AutoscalingApi from kubernetes.client.api.autoscaling_v1_api import AutoscalingV1Api +from kubernetes.client.api.autoscaling_v2_api import AutoscalingV2Api from kubernetes.client.api.autoscaling_v2beta1_api import AutoscalingV2beta1Api from kubernetes.client.api.autoscaling_v2beta2_api import AutoscalingV2beta2Api from kubernetes.client.api.batch_api import BatchApi @@ -53,6 +54,7 @@ from kubernetes.client.api.events_v1_api import EventsV1Api from kubernetes.client.api.events_v1beta1_api import EventsV1beta1Api from kubernetes.client.api.flowcontrol_apiserver_api import FlowcontrolApiserverApi from kubernetes.client.api.flowcontrol_apiserver_v1beta1_api import FlowcontrolApiserverV1beta1Api +from kubernetes.client.api.flowcontrol_apiserver_v1beta2_api import FlowcontrolApiserverV1beta2Api from kubernetes.client.api.internal_apiserver_api import InternalApiserverApi from kubernetes.client.api.internal_apiserver_v1alpha1_api import InternalApiserverV1alpha1Api from kubernetes.client.api.logs_api import LogsApi @@ -68,10 +70,8 @@ from kubernetes.client.api.policy_v1_api import PolicyV1Api from kubernetes.client.api.policy_v1beta1_api import PolicyV1beta1Api from kubernetes.client.api.rbac_authorization_api import RbacAuthorizationApi from kubernetes.client.api.rbac_authorization_v1_api import RbacAuthorizationV1Api -from kubernetes.client.api.rbac_authorization_v1alpha1_api import RbacAuthorizationV1alpha1Api from kubernetes.client.api.scheduling_api import SchedulingApi from kubernetes.client.api.scheduling_v1_api import SchedulingV1Api -from kubernetes.client.api.scheduling_v1alpha1_api import SchedulingV1alpha1Api from kubernetes.client.api.storage_api import StorageApi from kubernetes.client.api.storage_v1_api import StorageV1Api from kubernetes.client.api.storage_v1alpha1_api import StorageV1alpha1Api @@ -225,6 +225,7 @@ from kubernetes.client.models.v1_flex_volume_source import V1FlexVolumeSource from kubernetes.client.models.v1_flocker_volume_source import V1FlockerVolumeSource from kubernetes.client.models.v1_for_zone import V1ForZone from kubernetes.client.models.v1_gce_persistent_disk_volume_source import V1GCEPersistentDiskVolumeSource +from kubernetes.client.models.v1_grpc_action import V1GRPCAction from kubernetes.client.models.v1_git_repo_volume_source import V1GitRepoVolumeSource from kubernetes.client.models.v1_glusterfs_persistent_volume_source import V1GlusterfsPersistentVolumeSource from kubernetes.client.models.v1_glusterfs_volume_source import V1GlusterfsVolumeSource @@ -233,7 +234,6 @@ from kubernetes.client.models.v1_http_get_action import V1HTTPGetAction from kubernetes.client.models.v1_http_header import V1HTTPHeader from kubernetes.client.models.v1_http_ingress_path import V1HTTPIngressPath from kubernetes.client.models.v1_http_ingress_rule_value import V1HTTPIngressRuleValue -from kubernetes.client.models.v1_handler import V1Handler from kubernetes.client.models.v1_horizontal_pod_autoscaler import V1HorizontalPodAutoscaler from kubernetes.client.models.v1_horizontal_pod_autoscaler_list import V1HorizontalPodAutoscalerList from kubernetes.client.models.v1_horizontal_pod_autoscaler_spec import V1HorizontalPodAutoscalerSpec @@ -269,6 +269,7 @@ from kubernetes.client.models.v1_lease import V1Lease from kubernetes.client.models.v1_lease_list import V1LeaseList from kubernetes.client.models.v1_lease_spec import V1LeaseSpec from kubernetes.client.models.v1_lifecycle import V1Lifecycle +from kubernetes.client.models.v1_lifecycle_handler import V1LifecycleHandler from kubernetes.client.models.v1_limit_range import V1LimitRange from kubernetes.client.models.v1_limit_range_item import V1LimitRangeItem from kubernetes.client.models.v1_limit_range_list import V1LimitRangeList @@ -342,6 +343,7 @@ from kubernetes.client.models.v1_pod_disruption_budget_spec import V1PodDisrupti from kubernetes.client.models.v1_pod_disruption_budget_status import V1PodDisruptionBudgetStatus from kubernetes.client.models.v1_pod_ip import V1PodIP from kubernetes.client.models.v1_pod_list import V1PodList +from kubernetes.client.models.v1_pod_os import V1PodOS from kubernetes.client.models.v1_pod_readiness_gate import V1PodReadinessGate from kubernetes.client.models.v1_pod_security_context import V1PodSecurityContext from kubernetes.client.models.v1_pod_spec import V1PodSpec @@ -426,6 +428,7 @@ from kubernetes.client.models.v1_session_affinity_config import V1SessionAffinit from kubernetes.client.models.v1_stateful_set import V1StatefulSet from kubernetes.client.models.v1_stateful_set_condition import V1StatefulSetCondition from kubernetes.client.models.v1_stateful_set_list import V1StatefulSetList +from kubernetes.client.models.v1_stateful_set_persistent_volume_claim_retention_policy import V1StatefulSetPersistentVolumeClaimRetentionPolicy from kubernetes.client.models.v1_stateful_set_spec import V1StatefulSetSpec from kubernetes.client.models.v1_stateful_set_status import V1StatefulSetStatus from kubernetes.client.models.v1_stateful_set_update_strategy import V1StatefulSetUpdateStrategy @@ -459,6 +462,7 @@ from kubernetes.client.models.v1_user_info import V1UserInfo from kubernetes.client.models.v1_validating_webhook import V1ValidatingWebhook from kubernetes.client.models.v1_validating_webhook_configuration import V1ValidatingWebhookConfiguration from kubernetes.client.models.v1_validating_webhook_configuration_list import V1ValidatingWebhookConfigurationList +from kubernetes.client.models.v1_validation_rule import V1ValidationRule from kubernetes.client.models.v1_volume import V1Volume from kubernetes.client.models.v1_volume_attachment import V1VolumeAttachment from kubernetes.client.models.v1_volume_attachment_list import V1VolumeAttachmentList @@ -476,22 +480,9 @@ from kubernetes.client.models.v1_watch_event import V1WatchEvent from kubernetes.client.models.v1_webhook_conversion import V1WebhookConversion from kubernetes.client.models.v1_weighted_pod_affinity_term import V1WeightedPodAffinityTerm from kubernetes.client.models.v1_windows_security_context_options import V1WindowsSecurityContextOptions -from kubernetes.client.models.v1alpha1_aggregation_rule import V1alpha1AggregationRule from kubernetes.client.models.v1alpha1_csi_storage_capacity import V1alpha1CSIStorageCapacity from kubernetes.client.models.v1alpha1_csi_storage_capacity_list import V1alpha1CSIStorageCapacityList -from kubernetes.client.models.v1alpha1_cluster_role import V1alpha1ClusterRole -from kubernetes.client.models.v1alpha1_cluster_role_binding import V1alpha1ClusterRoleBinding -from kubernetes.client.models.v1alpha1_cluster_role_binding_list import V1alpha1ClusterRoleBindingList -from kubernetes.client.models.v1alpha1_cluster_role_list import V1alpha1ClusterRoleList from kubernetes.client.models.v1alpha1_overhead import V1alpha1Overhead -from kubernetes.client.models.v1alpha1_policy_rule import V1alpha1PolicyRule -from kubernetes.client.models.v1alpha1_priority_class import V1alpha1PriorityClass -from kubernetes.client.models.v1alpha1_priority_class_list import V1alpha1PriorityClassList -from kubernetes.client.models.v1alpha1_role import V1alpha1Role -from kubernetes.client.models.v1alpha1_role_binding import V1alpha1RoleBinding -from kubernetes.client.models.v1alpha1_role_binding_list import V1alpha1RoleBindingList -from kubernetes.client.models.v1alpha1_role_list import V1alpha1RoleList -from kubernetes.client.models.v1alpha1_role_ref import V1alpha1RoleRef from kubernetes.client.models.v1alpha1_runtime_class import V1alpha1RuntimeClass from kubernetes.client.models.v1alpha1_runtime_class_list import V1alpha1RuntimeClassList from kubernetes.client.models.v1alpha1_runtime_class_spec import V1alpha1RuntimeClassSpec @@ -501,13 +492,6 @@ from kubernetes.client.models.v1alpha1_storage_version import V1alpha1StorageVer from kubernetes.client.models.v1alpha1_storage_version_condition import V1alpha1StorageVersionCondition from kubernetes.client.models.v1alpha1_storage_version_list import V1alpha1StorageVersionList from kubernetes.client.models.v1alpha1_storage_version_status import V1alpha1StorageVersionStatus -from kubernetes.client.models.v1alpha1_subject import V1alpha1Subject -from kubernetes.client.models.v1alpha1_volume_attachment import V1alpha1VolumeAttachment -from kubernetes.client.models.v1alpha1_volume_attachment_list import V1alpha1VolumeAttachmentList -from kubernetes.client.models.v1alpha1_volume_attachment_source import V1alpha1VolumeAttachmentSource -from kubernetes.client.models.v1alpha1_volume_attachment_spec import V1alpha1VolumeAttachmentSpec -from kubernetes.client.models.v1alpha1_volume_attachment_status import V1alpha1VolumeAttachmentStatus -from kubernetes.client.models.v1alpha1_volume_error import V1alpha1VolumeError from kubernetes.client.models.v1beta1_allowed_csi_driver import V1beta1AllowedCSIDriver from kubernetes.client.models.v1beta1_allowed_flex_volume import V1beta1AllowedFlexVolume from kubernetes.client.models.v1beta1_allowed_host_path import V1beta1AllowedHostPath @@ -569,6 +553,52 @@ from kubernetes.client.models.v1beta1_service_account_subject import V1beta1Serv from kubernetes.client.models.v1beta1_subject import V1beta1Subject from kubernetes.client.models.v1beta1_supplemental_groups_strategy_options import V1beta1SupplementalGroupsStrategyOptions from kubernetes.client.models.v1beta1_user_subject import V1beta1UserSubject +from kubernetes.client.models.v1beta2_flow_distinguisher_method import V1beta2FlowDistinguisherMethod +from kubernetes.client.models.v1beta2_flow_schema import V1beta2FlowSchema +from kubernetes.client.models.v1beta2_flow_schema_condition import V1beta2FlowSchemaCondition +from kubernetes.client.models.v1beta2_flow_schema_list import V1beta2FlowSchemaList +from kubernetes.client.models.v1beta2_flow_schema_spec import V1beta2FlowSchemaSpec +from kubernetes.client.models.v1beta2_flow_schema_status import V1beta2FlowSchemaStatus +from kubernetes.client.models.v1beta2_group_subject import V1beta2GroupSubject +from kubernetes.client.models.v1beta2_limit_response import V1beta2LimitResponse +from kubernetes.client.models.v1beta2_limited_priority_level_configuration import V1beta2LimitedPriorityLevelConfiguration +from kubernetes.client.models.v1beta2_non_resource_policy_rule import V1beta2NonResourcePolicyRule +from kubernetes.client.models.v1beta2_policy_rules_with_subjects import V1beta2PolicyRulesWithSubjects +from kubernetes.client.models.v1beta2_priority_level_configuration import V1beta2PriorityLevelConfiguration +from kubernetes.client.models.v1beta2_priority_level_configuration_condition import V1beta2PriorityLevelConfigurationCondition +from kubernetes.client.models.v1beta2_priority_level_configuration_list import V1beta2PriorityLevelConfigurationList +from kubernetes.client.models.v1beta2_priority_level_configuration_reference import V1beta2PriorityLevelConfigurationReference +from kubernetes.client.models.v1beta2_priority_level_configuration_spec import V1beta2PriorityLevelConfigurationSpec +from kubernetes.client.models.v1beta2_priority_level_configuration_status import V1beta2PriorityLevelConfigurationStatus +from kubernetes.client.models.v1beta2_queuing_configuration import V1beta2QueuingConfiguration +from kubernetes.client.models.v1beta2_resource_policy_rule import V1beta2ResourcePolicyRule +from kubernetes.client.models.v1beta2_service_account_subject import V1beta2ServiceAccountSubject +from kubernetes.client.models.v1beta2_subject import V1beta2Subject +from kubernetes.client.models.v1beta2_user_subject import V1beta2UserSubject +from kubernetes.client.models.v2_container_resource_metric_source import V2ContainerResourceMetricSource +from kubernetes.client.models.v2_container_resource_metric_status import V2ContainerResourceMetricStatus +from kubernetes.client.models.v2_cross_version_object_reference import V2CrossVersionObjectReference +from kubernetes.client.models.v2_external_metric_source import V2ExternalMetricSource +from kubernetes.client.models.v2_external_metric_status import V2ExternalMetricStatus +from kubernetes.client.models.v2_hpa_scaling_policy import V2HPAScalingPolicy +from kubernetes.client.models.v2_hpa_scaling_rules import V2HPAScalingRules +from kubernetes.client.models.v2_horizontal_pod_autoscaler import V2HorizontalPodAutoscaler +from kubernetes.client.models.v2_horizontal_pod_autoscaler_behavior import V2HorizontalPodAutoscalerBehavior +from kubernetes.client.models.v2_horizontal_pod_autoscaler_condition import V2HorizontalPodAutoscalerCondition +from kubernetes.client.models.v2_horizontal_pod_autoscaler_list import V2HorizontalPodAutoscalerList +from kubernetes.client.models.v2_horizontal_pod_autoscaler_spec import V2HorizontalPodAutoscalerSpec +from kubernetes.client.models.v2_horizontal_pod_autoscaler_status import V2HorizontalPodAutoscalerStatus +from kubernetes.client.models.v2_metric_identifier import V2MetricIdentifier +from kubernetes.client.models.v2_metric_spec import V2MetricSpec +from kubernetes.client.models.v2_metric_status import V2MetricStatus +from kubernetes.client.models.v2_metric_target import V2MetricTarget +from kubernetes.client.models.v2_metric_value_status import V2MetricValueStatus +from kubernetes.client.models.v2_object_metric_source import V2ObjectMetricSource +from kubernetes.client.models.v2_object_metric_status import V2ObjectMetricStatus +from kubernetes.client.models.v2_pods_metric_source import V2PodsMetricSource +from kubernetes.client.models.v2_pods_metric_status import V2PodsMetricStatus +from kubernetes.client.models.v2_resource_metric_source import V2ResourceMetricSource +from kubernetes.client.models.v2_resource_metric_status import V2ResourceMetricStatus from kubernetes.client.models.v2beta1_container_resource_metric_source import V2beta1ContainerResourceMetricSource from kubernetes.client.models.v2beta1_container_resource_metric_status import V2beta1ContainerResourceMetricStatus from kubernetes.client.models.v2beta1_cross_version_object_reference import V2beta1CrossVersionObjectReference diff --git a/kubernetes/client/api_client.py b/kubernetes/client/api_client.py index dea978874..f57821db6 100644 --- a/kubernetes/client/api_client.py +++ b/kubernetes/client/api_client.py @@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.22 + The version of the OpenAPI document: release-1.23 Generated by: https://openapi-generator.tech """ @@ -78,7 +78,7 @@ class ApiClient(object): self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/22.0.0-snapshot/python' + self.user_agent = 'OpenAPI-Generator/23.0.0-snapshot/python' self.client_side_validation = configuration.client_side_validation def __enter__(self): diff --git a/kubernetes/client/configuration.py b/kubernetes/client/configuration.py index c771b134a..88e17ecc8 100644 --- a/kubernetes/client/configuration.py +++ b/kubernetes/client/configuration.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.22 + The version of the OpenAPI document: release-1.23 Generated by: https://openapi-generator.tech """ @@ -349,8 +349,8 @@ class Configuration(object): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: release-1.22\n"\ - "SDK Package Version: 22.0.0-snapshot".\ + "Version of the API: release-1.23\n"\ + "SDK Package Version: 23.0.0-snapshot".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/kubernetes/client/exceptions.py b/kubernetes/client/exceptions.py index 5168450db..885179978 100644 --- a/kubernetes/client/exceptions.py +++ b/kubernetes/client/exceptions.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.22 + The version of the OpenAPI document: release-1.23 Generated by: https://openapi-generator.tech """ diff --git a/kubernetes/client/rest.py b/kubernetes/client/rest.py index 324496404..d7be387d5 100644 --- a/kubernetes/client/rest.py +++ b/kubernetes/client/rest.py @@ -5,7 +5,7 @@ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 - The version of the OpenAPI document: release-1.22 + The version of the OpenAPI document: release-1.23 Generated by: https://openapi-generator.tech """ diff --git a/setup.py b/setup.py index b90ffa1cd..6730ac833 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ from setuptools import setup # Do not edit these constants. They will be updated automatically # by scripts/update-client.sh. -CLIENT_VERSION = "22.0.0-snapshot" +CLIENT_VERSION = "23.0.0-snapshot" PACKAGE_NAME = "kubernetes" DEVELOPMENT_STATUS = "3 - Alpha"