diff --git a/kubernetes/.swagger-codegen-ignore b/kubernetes/.swagger-codegen-ignore index 301f4d8ce3..9f56934d6e 100644 --- a/kubernetes/.swagger-codegen-ignore +++ b/kubernetes/.swagger-codegen-ignore @@ -5,7 +5,6 @@ test-requirements.txt setup.py .travis.yml tox.ini -client/__init__.py client/api_client.py client/configuration.py client/rest.py diff --git a/kubernetes/README.md b/kubernetes/README.md index dbf311a70a..00f021dc16 100644 --- a/kubernetes/README.md +++ b/kubernetes/README.md @@ -5,7 +5,7 @@ This Python package is automatically generated by the [Swagger Codegen](https:// - API version: v1.5.1-660c2a2 - Package version: 1.0.0-snapshot -- Build package: class io.swagger.codegen.languages.PythonClientCodegen +- Build package: io.swagger.codegen.languages.PythonClientCodegen ## Requirements. diff --git a/kubernetes/client/__init__.py b/kubernetes/client/__init__.py index fc490082d9..4925844df8 100644 --- a/kubernetes/client/__init__.py +++ b/kubernetes/client/__init__.py @@ -5,23 +5,12 @@ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) - OpenAPI spec version: v1.5.0-snapshot + OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import # import models into sdk package @@ -42,15 +31,21 @@ from .models.unversioned_status_cause import UnversionedStatusCause from .models.unversioned_status_details import UnversionedStatusDetails from .models.unversioned_time import UnversionedTime +from .models.v1_aws_elastic_block_store_volume_source import V1AWSElasticBlockStoreVolumeSource from .models.v1_attached_volume import V1AttachedVolume +from .models.v1_azure_disk_volume_source import V1AzureDiskVolumeSource +from .models.v1_azure_file_volume_source import V1AzureFileVolumeSource from .models.v1_binding import V1Binding from .models.v1_capabilities import V1Capabilities +from .models.v1_ceph_fs_volume_source import V1CephFSVolumeSource +from .models.v1_cinder_volume_source import V1CinderVolumeSource from .models.v1_component_condition import V1ComponentCondition from .models.v1_component_status import V1ComponentStatus from .models.v1_component_status_list import V1ComponentStatusList from .models.v1_config_map import V1ConfigMap from .models.v1_config_map_key_selector import V1ConfigMapKeySelector from .models.v1_config_map_list import V1ConfigMapList +from .models.v1_config_map_volume_source import V1ConfigMapVolumeSource from .models.v1_container import V1Container from .models.v1_container_image import V1ContainerImage from .models.v1_container_port import V1ContainerPort @@ -62,6 +57,9 @@ from .models.v1_cross_version_object_reference import V1CrossVersionObjectReference from .models.v1_daemon_endpoint import V1DaemonEndpoint from .models.v1_delete_options import V1DeleteOptions +from .models.v1_downward_api_volume_file import V1DownwardAPIVolumeFile +from .models.v1_downward_api_volume_source import V1DownwardAPIVolumeSource +from .models.v1_empty_dir_volume_source import V1EmptyDirVolumeSource from .models.v1_endpoint_address import V1EndpointAddress from .models.v1_endpoint_port import V1EndpointPort from .models.v1_endpoint_subset import V1EndpointSubset @@ -73,6 +71,12 @@ from .models.v1_event_list import V1EventList from .models.v1_event_source import V1EventSource from .models.v1_exec_action import V1ExecAction +from .models.v1_fc_volume_source import V1FCVolumeSource +from .models.v1_flex_volume_source import V1FlexVolumeSource +from .models.v1_flocker_volume_source import V1FlockerVolumeSource +from .models.v1_gce_persistent_disk_volume_source import V1GCEPersistentDiskVolumeSource +from .models.v1_git_repo_volume_source import V1GitRepoVolumeSource +from .models.v1_glusterfs_volume_source import V1GlusterfsVolumeSource from .models.v1_http_get_action import V1HTTPGetAction from .models.v1_http_header import V1HTTPHeader from .models.v1_handler import V1Handler @@ -80,11 +84,14 @@ from .models.v1_horizontal_pod_autoscaler_list import V1HorizontalPodAutoscalerList from .models.v1_horizontal_pod_autoscaler_spec import V1HorizontalPodAutoscalerSpec from .models.v1_horizontal_pod_autoscaler_status import V1HorizontalPodAutoscalerStatus +from .models.v1_host_path_volume_source import V1HostPathVolumeSource +from .models.v1_iscsi_volume_source import V1ISCSIVolumeSource from .models.v1_job import V1Job from .models.v1_job_condition import V1JobCondition from .models.v1_job_list import V1JobList from .models.v1_job_spec import V1JobSpec from .models.v1_job_status import V1JobStatus +from .models.v1_key_to_path import V1KeyToPath from .models.v1_lifecycle import V1Lifecycle from .models.v1_limit_range import V1LimitRange from .models.v1_limit_range_item import V1LimitRangeItem @@ -93,6 +100,7 @@ from .models.v1_load_balancer_ingress import V1LoadBalancerIngress from .models.v1_load_balancer_status import V1LoadBalancerStatus from .models.v1_local_object_reference import V1LocalObjectReference +from .models.v1_nfs_volume_source import V1NFSVolumeSource from .models.v1_namespace import V1Namespace from .models.v1_namespace_list import V1NamespaceList from .models.v1_namespace_spec import V1NamespaceSpec @@ -114,9 +122,11 @@ from .models.v1_persistent_volume_claim_list import V1PersistentVolumeClaimList from .models.v1_persistent_volume_claim_spec import V1PersistentVolumeClaimSpec from .models.v1_persistent_volume_claim_status import V1PersistentVolumeClaimStatus +from .models.v1_persistent_volume_claim_volume_source import V1PersistentVolumeClaimVolumeSource from .models.v1_persistent_volume_list import V1PersistentVolumeList from .models.v1_persistent_volume_spec import V1PersistentVolumeSpec from .models.v1_persistent_volume_status import V1PersistentVolumeStatus +from .models.v1_photon_persistent_disk_volume_source import V1PhotonPersistentDiskVolumeSource from .models.v1_pod import V1Pod from .models.v1_pod_condition import V1PodCondition from .models.v1_pod_list import V1PodList @@ -128,6 +138,8 @@ from .models.v1_pod_template_spec import V1PodTemplateSpec from .models.v1_preconditions import V1Preconditions from .models.v1_probe import V1Probe +from .models.v1_quobyte_volume_source import V1QuobyteVolumeSource +from .models.v1_rbd_volume_source import V1RBDVolumeSource from .models.v1_replication_controller import V1ReplicationController from .models.v1_replication_controller_condition import V1ReplicationControllerCondition from .models.v1_replication_controller_list import V1ReplicationControllerList @@ -146,6 +158,7 @@ from .models.v1_secret import V1Secret from .models.v1_secret_key_selector import V1SecretKeySelector from .models.v1_secret_list import V1SecretList +from .models.v1_secret_volume_source import V1SecretVolumeSource from .models.v1_security_context import V1SecurityContext from .models.v1_service import V1Service from .models.v1_service_account import V1ServiceAccount @@ -157,6 +170,7 @@ from .models.v1_tcp_socket_action import V1TCPSocketAction from .models.v1_volume import V1Volume from .models.v1_volume_mount import V1VolumeMount +from .models.v1_vsphere_virtual_disk_volume_source import V1VsphereVirtualDiskVolumeSource from .models.v1alpha1_certificate_signing_request import V1alpha1CertificateSigningRequest from .models.v1alpha1_certificate_signing_request_condition import V1alpha1CertificateSigningRequestCondition from .models.v1alpha1_certificate_signing_request_list import V1alpha1CertificateSigningRequestList @@ -187,6 +201,8 @@ from .models.v1beta1_deployment_status import V1beta1DeploymentStatus from .models.v1beta1_deployment_strategy import V1beta1DeploymentStrategy from .models.v1beta1_eviction import V1beta1Eviction +from .models.v1beta1_http_ingress_path import V1beta1HTTPIngressPath +from .models.v1beta1_http_ingress_rule_value import V1beta1HTTPIngressRuleValue from .models.v1beta1_horizontal_pod_autoscaler import V1beta1HorizontalPodAutoscaler from .models.v1beta1_horizontal_pod_autoscaler_list import V1beta1HorizontalPodAutoscalerList from .models.v1beta1_horizontal_pod_autoscaler_spec import V1beta1HorizontalPodAutoscalerSpec diff --git a/kubernetes/client/apis/apis_api.py b/kubernetes/client/apis/apis_api.py index 47ddbc1152..b1295c9f99 100644 --- a/kubernetes/client/apis/apis_api.py +++ b/kubernetes/client/apis/apis_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,7 @@ def __init__(self, api_client=None): def get_api_versions(self, **kwargs): """ - get available API versions - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -79,9 +66,7 @@ def get_api_versions(self, **kwargs): def get_api_versions_with_http_info(self, **kwargs): """ - get available API versions - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -113,7 +98,6 @@ def get_api_versions_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/apis/'.replace('{format}', 'json') @@ -127,12 +111,9 @@ def get_api_versions_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -142,16 +123,16 @@ def get_api_versions_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedAPIGroupList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedAPIGroupList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/apps_api.py b/kubernetes/client/apis/apps_api.py index 326c8c4f3f..0cd361e35c 100644 --- a/kubernetes/client/apis/apps_api.py +++ b/kubernetes/client/apis/apps_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,7 @@ def __init__(self, api_client=None): def get_api_group(self, **kwargs): """ - get information of a group - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -79,9 +66,7 @@ def get_api_group(self, **kwargs): def get_api_group_with_http_info(self, **kwargs): """ - get information of a group - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -113,7 +98,6 @@ def get_api_group_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/apis/apps/'.replace('{format}', 'json') @@ -127,12 +111,9 @@ def get_api_group_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -142,16 +123,16 @@ def get_api_group_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedAPIGroup', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedAPIGroup', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/apps_v1beta1_api.py b/kubernetes/client/apis/apps_v1beta1_api.py index 13646c375e..c34b3ff666 100644 --- a/kubernetes/client/apis/apps_v1beta1_api.py +++ b/kubernetes/client/apis/apps_v1beta1_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,7 @@ def __init__(self, api_client=None): def create_namespaced_stateful_set(self, namespace, body, **kwargs): """ - create a StatefulSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -67,7 +54,7 @@ def create_namespaced_stateful_set(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1StatefulSet body: (required) + :param V1beta1StatefulSet body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StatefulSet If the method is called asynchronously, @@ -82,9 +69,7 @@ def create_namespaced_stateful_set(self, namespace, body, **kwargs): def create_namespaced_stateful_set_with_http_info(self, namespace, body, **kwargs): """ - create a StatefulSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -96,7 +81,7 @@ def create_namespaced_stateful_set_with_http_info(self, namespace, body, **kwarg :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1StatefulSet body: (required) + :param V1beta1StatefulSet body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StatefulSet If the method is called asynchronously, @@ -145,12 +130,9 @@ def create_namespaced_stateful_set_with_http_info(self, namespace, body, **kwarg body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -160,25 +142,23 @@ def create_namespaced_stateful_set_with_http_info(self, namespace, body, **kwarg auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1StatefulSet', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1StatefulSet', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_stateful_set(self, namespace, **kwargs): """ - delete collection of StatefulSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -209,9 +189,7 @@ def delete_collection_namespaced_stateful_set(self, namespace, **kwargs): def delete_collection_namespaced_stateful_set_with_http_info(self, namespace, **kwargs): """ - delete collection of StatefulSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -281,12 +259,9 @@ def delete_collection_namespaced_stateful_set_with_http_info(self, namespace, ** local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -296,25 +271,23 @@ def delete_collection_namespaced_stateful_set_with_http_info(self, namespace, ** auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_stateful_set(self, name, namespace, body, **kwargs): """ - delete a StatefulSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -327,7 +300,7 @@ def delete_namespaced_stateful_set(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -344,9 +317,7 @@ def delete_namespaced_stateful_set(self, name, namespace, body, **kwargs): def delete_namespaced_stateful_set_with_http_info(self, name, namespace, body, **kwargs): """ - delete a StatefulSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -359,7 +330,7 @@ def delete_namespaced_stateful_set_with_http_info(self, name, namespace, body, * for asynchronous request. (optional) :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -419,12 +390,9 @@ def delete_namespaced_stateful_set_with_http_info(self, name, namespace, body, * body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -434,25 +402,23 @@ def delete_namespaced_stateful_set_with_http_info(self, name, namespace, body, * auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def get_api_resources(self, **kwargs): """ - get available resources - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -476,9 +442,7 @@ def get_api_resources(self, **kwargs): def get_api_resources_with_http_info(self, **kwargs): """ - get available resources - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -510,7 +474,6 @@ def get_api_resources_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/apis/apps/v1beta1/'.replace('{format}', 'json') @@ -524,12 +487,9 @@ def get_api_resources_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -539,25 +499,23 @@ def get_api_resources_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedAPIResourceList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedAPIResourceList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_stateful_set(self, namespace, **kwargs): """ - list or watch objects of kind StatefulSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -588,9 +546,7 @@ def list_namespaced_stateful_set(self, namespace, **kwargs): def list_namespaced_stateful_set_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind StatefulSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -660,12 +616,9 @@ def list_namespaced_stateful_set_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -675,25 +628,23 @@ def list_namespaced_stateful_set_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1StatefulSetList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1StatefulSetList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_stateful_set_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind StatefulSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -723,9 +674,7 @@ def list_stateful_set_for_all_namespaces(self, **kwargs): def list_stateful_set_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind StatefulSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -789,12 +738,9 @@ def list_stateful_set_for_all_namespaces_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -804,25 +750,23 @@ def list_stateful_set_for_all_namespaces_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1StatefulSetList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1StatefulSetList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_stateful_set(self, name, namespace, body, **kwargs): """ - partially update the specified StatefulSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -835,7 +779,7 @@ def patch_namespaced_stateful_set(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StatefulSet If the method is called asynchronously, @@ -850,9 +794,7 @@ def patch_namespaced_stateful_set(self, name, namespace, body, **kwargs): def patch_namespaced_stateful_set_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified StatefulSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -865,7 +807,7 @@ def patch_namespaced_stateful_set_with_http_info(self, name, namespace, body, ** for asynchronous request. (optional) :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StatefulSet If the method is called asynchronously, @@ -919,12 +861,9 @@ def patch_namespaced_stateful_set_with_http_info(self, name, namespace, body, ** body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -934,25 +873,23 @@ def patch_namespaced_stateful_set_with_http_info(self, name, namespace, body, ** auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1StatefulSet', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1StatefulSet', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_stateful_set_status(self, name, namespace, body, **kwargs): """ - partially update status of the specified StatefulSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -965,7 +902,7 @@ def patch_namespaced_stateful_set_status(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StatefulSet If the method is called asynchronously, @@ -980,9 +917,7 @@ def patch_namespaced_stateful_set_status(self, name, namespace, body, **kwargs): def patch_namespaced_stateful_set_status_with_http_info(self, name, namespace, body, **kwargs): """ - partially update status of the specified StatefulSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -995,7 +930,7 @@ def patch_namespaced_stateful_set_status_with_http_info(self, name, namespace, b for asynchronous request. (optional) :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StatefulSet If the method is called asynchronously, @@ -1049,12 +984,9 @@ def patch_namespaced_stateful_set_status_with_http_info(self, name, namespace, b body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1064,25 +996,23 @@ def patch_namespaced_stateful_set_status_with_http_info(self, name, namespace, b auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1StatefulSet', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1StatefulSet', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_stateful_set(self, name, namespace, **kwargs): """ - read the specified StatefulSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1111,9 +1041,7 @@ def read_namespaced_stateful_set(self, name, namespace, **kwargs): def read_namespaced_stateful_set_with_http_info(self, name, namespace, **kwargs): """ - read the specified StatefulSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1180,12 +1108,9 @@ def read_namespaced_stateful_set_with_http_info(self, name, namespace, **kwargs) local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1195,25 +1120,23 @@ def read_namespaced_stateful_set_with_http_info(self, name, namespace, **kwargs) auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1StatefulSet', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1StatefulSet', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_stateful_set_status(self, name, namespace, **kwargs): """ - read status of the specified StatefulSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1240,9 +1163,7 @@ def read_namespaced_stateful_set_status(self, name, namespace, **kwargs): def read_namespaced_stateful_set_status_with_http_info(self, name, namespace, **kwargs): """ - read status of the specified StatefulSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1303,12 +1224,9 @@ def read_namespaced_stateful_set_status_with_http_info(self, name, namespace, ** local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1318,25 +1236,23 @@ def read_namespaced_stateful_set_status_with_http_info(self, name, namespace, ** auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1StatefulSet', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1StatefulSet', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_stateful_set(self, name, namespace, body, **kwargs): """ - replace the specified StatefulSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1349,7 +1265,7 @@ def replace_namespaced_stateful_set(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1StatefulSet body: (required) + :param V1beta1StatefulSet body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StatefulSet If the method is called asynchronously, @@ -1364,9 +1280,7 @@ def replace_namespaced_stateful_set(self, name, namespace, body, **kwargs): def replace_namespaced_stateful_set_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified StatefulSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1379,7 +1293,7 @@ def replace_namespaced_stateful_set_with_http_info(self, name, namespace, body, for asynchronous request. (optional) :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1StatefulSet body: (required) + :param V1beta1StatefulSet body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StatefulSet If the method is called asynchronously, @@ -1433,12 +1347,9 @@ def replace_namespaced_stateful_set_with_http_info(self, name, namespace, body, body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1448,25 +1359,23 @@ def replace_namespaced_stateful_set_with_http_info(self, name, namespace, body, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1StatefulSet', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1StatefulSet', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_stateful_set_status(self, name, namespace, body, **kwargs): """ - replace status of the specified StatefulSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1479,7 +1388,7 @@ def replace_namespaced_stateful_set_status(self, name, namespace, body, **kwargs for asynchronous request. (optional) :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1StatefulSet body: (required) + :param V1beta1StatefulSet body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StatefulSet If the method is called asynchronously, @@ -1494,9 +1403,7 @@ def replace_namespaced_stateful_set_status(self, name, namespace, body, **kwargs def replace_namespaced_stateful_set_status_with_http_info(self, name, namespace, body, **kwargs): """ - replace status of the specified StatefulSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1509,7 +1416,7 @@ def replace_namespaced_stateful_set_status_with_http_info(self, name, namespace, for asynchronous request. (optional) :param str name: name of the StatefulSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1StatefulSet body: (required) + :param V1beta1StatefulSet body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StatefulSet If the method is called asynchronously, @@ -1563,12 +1470,9 @@ def replace_namespaced_stateful_set_status_with_http_info(self, name, namespace, body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1578,16 +1482,16 @@ def replace_namespaced_stateful_set_status_with_http_info(self, name, namespace, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1StatefulSet', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1StatefulSet', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/authentication_api.py b/kubernetes/client/apis/authentication_api.py index d3e396163f..f43f2bd5cd 100644 --- a/kubernetes/client/apis/authentication_api.py +++ b/kubernetes/client/apis/authentication_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,7 @@ def __init__(self, api_client=None): def get_api_group(self, **kwargs): """ - get information of a group - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -79,9 +66,7 @@ def get_api_group(self, **kwargs): def get_api_group_with_http_info(self, **kwargs): """ - get information of a group - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -113,7 +98,6 @@ def get_api_group_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/apis/authentication.k8s.io/'.replace('{format}', 'json') @@ -127,12 +111,9 @@ def get_api_group_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -142,16 +123,16 @@ def get_api_group_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedAPIGroup', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedAPIGroup', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/authentication_v1beta1_api.py b/kubernetes/client/apis/authentication_v1beta1_api.py index 7b039b5e8f..5167d6e9cf 100644 --- a/kubernetes/client/apis/authentication_v1beta1_api.py +++ b/kubernetes/client/apis/authentication_v1beta1_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,7 @@ def __init__(self, api_client=None): def create_token_review(self, body, **kwargs): """ - create a TokenReview - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -66,7 +53,7 @@ def create_token_review(self, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1beta1TokenReview body: (required) + :param V1beta1TokenReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1TokenReview If the method is called asynchronously, @@ -81,9 +68,7 @@ def create_token_review(self, body, **kwargs): def create_token_review_with_http_info(self, body, **kwargs): """ - create a TokenReview - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -94,7 +79,7 @@ def create_token_review_with_http_info(self, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1beta1TokenReview body: (required) + :param V1beta1TokenReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1TokenReview If the method is called asynchronously, @@ -138,12 +123,9 @@ def create_token_review_with_http_info(self, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -153,25 +135,23 @@ def create_token_review_with_http_info(self, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1TokenReview', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1TokenReview', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def get_api_resources(self, **kwargs): """ - get available resources - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -195,9 +175,7 @@ def get_api_resources(self, **kwargs): def get_api_resources_with_http_info(self, **kwargs): """ - get available resources - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -229,7 +207,6 @@ def get_api_resources_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/apis/authentication.k8s.io/v1beta1/'.replace('{format}', 'json') @@ -243,12 +220,9 @@ def get_api_resources_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -258,16 +232,16 @@ def get_api_resources_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedAPIResourceList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedAPIResourceList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/authorization_api.py b/kubernetes/client/apis/authorization_api.py index afb97861aa..d3334d93c8 100644 --- a/kubernetes/client/apis/authorization_api.py +++ b/kubernetes/client/apis/authorization_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,7 @@ def __init__(self, api_client=None): def get_api_group(self, **kwargs): """ - get information of a group - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -79,9 +66,7 @@ def get_api_group(self, **kwargs): def get_api_group_with_http_info(self, **kwargs): """ - get information of a group - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -113,7 +98,6 @@ def get_api_group_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/apis/authorization.k8s.io/'.replace('{format}', 'json') @@ -127,12 +111,9 @@ def get_api_group_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -142,16 +123,16 @@ def get_api_group_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedAPIGroup', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedAPIGroup', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/authorization_v1beta1_api.py b/kubernetes/client/apis/authorization_v1beta1_api.py index 094bcea2ca..27c523e9e6 100644 --- a/kubernetes/client/apis/authorization_v1beta1_api.py +++ b/kubernetes/client/apis/authorization_v1beta1_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,7 @@ def __init__(self, api_client=None): def create_namespaced_local_subject_access_review(self, body, namespace, **kwargs): """ - create a LocalSubjectAccessReview - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -66,7 +53,7 @@ def create_namespaced_local_subject_access_review(self, body, namespace, **kwarg :param callback function: The callback function for asynchronous request. (optional) - :param V1beta1LocalSubjectAccessReview body: (required) + :param V1beta1LocalSubjectAccessReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1LocalSubjectAccessReview @@ -82,9 +69,7 @@ def create_namespaced_local_subject_access_review(self, body, namespace, **kwarg def create_namespaced_local_subject_access_review_with_http_info(self, body, namespace, **kwargs): """ - create a LocalSubjectAccessReview - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -95,7 +80,7 @@ def create_namespaced_local_subject_access_review_with_http_info(self, body, nam :param callback function: The callback function for asynchronous request. (optional) - :param V1beta1LocalSubjectAccessReview body: (required) + :param V1beta1LocalSubjectAccessReview body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1LocalSubjectAccessReview @@ -145,12 +130,9 @@ def create_namespaced_local_subject_access_review_with_http_info(self, body, nam body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -160,25 +142,23 @@ def create_namespaced_local_subject_access_review_with_http_info(self, body, nam auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1LocalSubjectAccessReview', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1LocalSubjectAccessReview', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_self_subject_access_review(self, body, **kwargs): """ - create a SelfSubjectAccessReview - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -189,7 +169,7 @@ def create_self_subject_access_review(self, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1beta1SelfSubjectAccessReview body: (required) + :param V1beta1SelfSubjectAccessReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1SelfSubjectAccessReview If the method is called asynchronously, @@ -204,9 +184,7 @@ def create_self_subject_access_review(self, body, **kwargs): def create_self_subject_access_review_with_http_info(self, body, **kwargs): """ - create a SelfSubjectAccessReview - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -217,7 +195,7 @@ def create_self_subject_access_review_with_http_info(self, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1beta1SelfSubjectAccessReview body: (required) + :param V1beta1SelfSubjectAccessReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1SelfSubjectAccessReview If the method is called asynchronously, @@ -261,12 +239,9 @@ def create_self_subject_access_review_with_http_info(self, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -276,25 +251,23 @@ def create_self_subject_access_review_with_http_info(self, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1SelfSubjectAccessReview', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1SelfSubjectAccessReview', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_subject_access_review(self, body, **kwargs): """ - create a SubjectAccessReview - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -305,7 +278,7 @@ def create_subject_access_review(self, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1beta1SubjectAccessReview body: (required) + :param V1beta1SubjectAccessReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1SubjectAccessReview If the method is called asynchronously, @@ -320,9 +293,7 @@ def create_subject_access_review(self, body, **kwargs): def create_subject_access_review_with_http_info(self, body, **kwargs): """ - create a SubjectAccessReview - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -333,7 +304,7 @@ def create_subject_access_review_with_http_info(self, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1beta1SubjectAccessReview body: (required) + :param V1beta1SubjectAccessReview body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1SubjectAccessReview If the method is called asynchronously, @@ -377,12 +348,9 @@ def create_subject_access_review_with_http_info(self, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -392,25 +360,23 @@ def create_subject_access_review_with_http_info(self, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1SubjectAccessReview', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1SubjectAccessReview', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def get_api_resources(self, **kwargs): """ - get available resources - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -434,9 +400,7 @@ def get_api_resources(self, **kwargs): def get_api_resources_with_http_info(self, **kwargs): """ - get available resources - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -468,7 +432,6 @@ def get_api_resources_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/apis/authorization.k8s.io/v1beta1/'.replace('{format}', 'json') @@ -482,12 +445,9 @@ def get_api_resources_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -497,16 +457,16 @@ def get_api_resources_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedAPIResourceList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedAPIResourceList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/autoscaling_api.py b/kubernetes/client/apis/autoscaling_api.py index 1d961e5089..187bd9dc5d 100644 --- a/kubernetes/client/apis/autoscaling_api.py +++ b/kubernetes/client/apis/autoscaling_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,7 @@ def __init__(self, api_client=None): def get_api_group(self, **kwargs): """ - get information of a group - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -79,9 +66,7 @@ def get_api_group(self, **kwargs): def get_api_group_with_http_info(self, **kwargs): """ - get information of a group - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -113,7 +98,6 @@ def get_api_group_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/apis/autoscaling/'.replace('{format}', 'json') @@ -127,12 +111,9 @@ def get_api_group_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -142,16 +123,16 @@ def get_api_group_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedAPIGroup', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedAPIGroup', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/autoscaling_v1_api.py b/kubernetes/client/apis/autoscaling_v1_api.py index 554311f7c3..af44ef008c 100644 --- a/kubernetes/client/apis/autoscaling_v1_api.py +++ b/kubernetes/client/apis/autoscaling_v1_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,7 @@ def __init__(self, api_client=None): def create_namespaced_horizontal_pod_autoscaler(self, namespace, body, **kwargs): """ - create a HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -67,7 +54,7 @@ def create_namespaced_horizontal_pod_autoscaler(self, namespace, body, **kwargs) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1HorizontalPodAutoscaler body: (required) + :param V1HorizontalPodAutoscaler body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1HorizontalPodAutoscaler If the method is called asynchronously, @@ -82,9 +69,7 @@ def create_namespaced_horizontal_pod_autoscaler(self, namespace, body, **kwargs) def create_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, body, **kwargs): """ - create a HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -96,7 +81,7 @@ def create_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1HorizontalPodAutoscaler body: (required) + :param V1HorizontalPodAutoscaler body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1HorizontalPodAutoscaler If the method is called asynchronously, @@ -145,12 +130,9 @@ def create_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -160,25 +142,23 @@ def create_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1HorizontalPodAutoscaler', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1HorizontalPodAutoscaler', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_horizontal_pod_autoscaler(self, namespace, **kwargs): """ - delete collection of HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -209,9 +189,7 @@ def delete_collection_namespaced_horizontal_pod_autoscaler(self, namespace, **kw def delete_collection_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, **kwargs): """ - delete collection of HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -281,12 +259,9 @@ def delete_collection_namespaced_horizontal_pod_autoscaler_with_http_info(self, local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -296,25 +271,23 @@ def delete_collection_namespaced_horizontal_pod_autoscaler_with_http_info(self, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, **kwargs): """ - delete a HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -327,7 +300,7 @@ def delete_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, **k for asynchronous request. (optional) :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -344,9 +317,7 @@ def delete_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, **k def delete_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namespace, body, **kwargs): """ - delete a HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -359,7 +330,7 @@ def delete_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, names for asynchronous request. (optional) :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -419,12 +390,9 @@ def delete_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, names body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -434,25 +402,23 @@ def delete_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, names auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def get_api_resources(self, **kwargs): """ - get available resources - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -476,9 +442,7 @@ def get_api_resources(self, **kwargs): def get_api_resources_with_http_info(self, **kwargs): """ - get available resources - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -510,7 +474,6 @@ def get_api_resources_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/apis/autoscaling/v1/'.replace('{format}', 'json') @@ -524,12 +487,9 @@ def get_api_resources_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -539,25 +499,23 @@ def get_api_resources_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedAPIResourceList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedAPIResourceList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_horizontal_pod_autoscaler_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -587,9 +545,7 @@ def list_horizontal_pod_autoscaler_for_all_namespaces(self, **kwargs): def list_horizontal_pod_autoscaler_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -653,12 +609,9 @@ def list_horizontal_pod_autoscaler_for_all_namespaces_with_http_info(self, **kwa local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -668,25 +621,23 @@ def list_horizontal_pod_autoscaler_for_all_namespaces_with_http_info(self, **kwa auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1HorizontalPodAutoscalerList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1HorizontalPodAutoscalerList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_horizontal_pod_autoscaler(self, namespace, **kwargs): """ - list or watch objects of kind HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -717,9 +668,7 @@ def list_namespaced_horizontal_pod_autoscaler(self, namespace, **kwargs): def list_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -789,12 +738,9 @@ def list_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, ** local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -804,25 +750,23 @@ def list_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, ** auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1HorizontalPodAutoscalerList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1HorizontalPodAutoscalerList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, **kwargs): """ - partially update the specified HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -835,7 +779,7 @@ def patch_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, **kw for asynchronous request. (optional) :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1HorizontalPodAutoscaler If the method is called asynchronously, @@ -850,9 +794,7 @@ def patch_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, **kw def patch_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -865,7 +807,7 @@ def patch_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namesp for asynchronous request. (optional) :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1HorizontalPodAutoscaler If the method is called asynchronously, @@ -919,12 +861,9 @@ def patch_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namesp body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -934,25 +873,23 @@ def patch_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namesp auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1HorizontalPodAutoscaler', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1HorizontalPodAutoscaler', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_horizontal_pod_autoscaler_status(self, name, namespace, body, **kwargs): """ - partially update status of the specified HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -965,7 +902,7 @@ def patch_namespaced_horizontal_pod_autoscaler_status(self, name, namespace, bod for asynchronous request. (optional) :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1HorizontalPodAutoscaler If the method is called asynchronously, @@ -980,9 +917,7 @@ def patch_namespaced_horizontal_pod_autoscaler_status(self, name, namespace, bod def patch_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name, namespace, body, **kwargs): """ - partially update status of the specified HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -995,7 +930,7 @@ def patch_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name, for asynchronous request. (optional) :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1HorizontalPodAutoscaler If the method is called asynchronously, @@ -1049,12 +984,9 @@ def patch_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name, body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1064,25 +996,23 @@ def patch_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1HorizontalPodAutoscaler', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1HorizontalPodAutoscaler', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_horizontal_pod_autoscaler(self, name, namespace, **kwargs): """ - read the specified HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1111,9 +1041,7 @@ def read_namespaced_horizontal_pod_autoscaler(self, name, namespace, **kwargs): def read_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namespace, **kwargs): """ - read the specified HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1180,12 +1108,9 @@ def read_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namespa local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1195,25 +1120,23 @@ def read_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namespa auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1HorizontalPodAutoscaler', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1HorizontalPodAutoscaler', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_horizontal_pod_autoscaler_status(self, name, namespace, **kwargs): """ - read status of the specified HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1240,9 +1163,7 @@ def read_namespaced_horizontal_pod_autoscaler_status(self, name, namespace, **kw def read_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name, namespace, **kwargs): """ - read status of the specified HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1303,12 +1224,9 @@ def read_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name, local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1318,25 +1236,23 @@ def read_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1HorizontalPodAutoscaler', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1HorizontalPodAutoscaler', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, **kwargs): """ - replace the specified HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1349,7 +1265,7 @@ def replace_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, ** for asynchronous request. (optional) :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1HorizontalPodAutoscaler body: (required) + :param V1HorizontalPodAutoscaler body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1HorizontalPodAutoscaler If the method is called asynchronously, @@ -1364,9 +1280,7 @@ def replace_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, ** def replace_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1379,7 +1293,7 @@ def replace_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, name for asynchronous request. (optional) :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1HorizontalPodAutoscaler body: (required) + :param V1HorizontalPodAutoscaler body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1HorizontalPodAutoscaler If the method is called asynchronously, @@ -1433,12 +1347,9 @@ def replace_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, name body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1448,25 +1359,23 @@ def replace_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, name auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1HorizontalPodAutoscaler', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1HorizontalPodAutoscaler', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_horizontal_pod_autoscaler_status(self, name, namespace, body, **kwargs): """ - replace status of the specified HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1479,7 +1388,7 @@ def replace_namespaced_horizontal_pod_autoscaler_status(self, name, namespace, b for asynchronous request. (optional) :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1HorizontalPodAutoscaler body: (required) + :param V1HorizontalPodAutoscaler body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1HorizontalPodAutoscaler If the method is called asynchronously, @@ -1494,9 +1403,7 @@ def replace_namespaced_horizontal_pod_autoscaler_status(self, name, namespace, b def replace_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name, namespace, body, **kwargs): """ - replace status of the specified HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1509,7 +1416,7 @@ def replace_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, nam for asynchronous request. (optional) :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1HorizontalPodAutoscaler body: (required) + :param V1HorizontalPodAutoscaler body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1HorizontalPodAutoscaler If the method is called asynchronously, @@ -1563,12 +1470,9 @@ def replace_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, nam body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1578,16 +1482,16 @@ def replace_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, nam auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1HorizontalPodAutoscaler', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1HorizontalPodAutoscaler', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/batch_api.py b/kubernetes/client/apis/batch_api.py index 47ea968bef..69f80c1abc 100644 --- a/kubernetes/client/apis/batch_api.py +++ b/kubernetes/client/apis/batch_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,7 @@ def __init__(self, api_client=None): def get_api_group(self, **kwargs): """ - get information of a group - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -79,9 +66,7 @@ def get_api_group(self, **kwargs): def get_api_group_with_http_info(self, **kwargs): """ - get information of a group - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -113,7 +98,6 @@ def get_api_group_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/apis/batch/'.replace('{format}', 'json') @@ -127,12 +111,9 @@ def get_api_group_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -142,16 +123,16 @@ def get_api_group_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedAPIGroup', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedAPIGroup', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/batch_v1_api.py b/kubernetes/client/apis/batch_v1_api.py index ce59fc6734..9b9b6f3a2d 100644 --- a/kubernetes/client/apis/batch_v1_api.py +++ b/kubernetes/client/apis/batch_v1_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,7 @@ def __init__(self, api_client=None): def create_namespaced_job(self, namespace, body, **kwargs): """ - create a Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -67,7 +54,7 @@ def create_namespaced_job(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Job body: (required) + :param V1Job body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Job If the method is called asynchronously, @@ -82,9 +69,7 @@ def create_namespaced_job(self, namespace, body, **kwargs): def create_namespaced_job_with_http_info(self, namespace, body, **kwargs): """ - create a Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -96,7 +81,7 @@ def create_namespaced_job_with_http_info(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Job body: (required) + :param V1Job body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Job If the method is called asynchronously, @@ -145,12 +130,9 @@ def create_namespaced_job_with_http_info(self, namespace, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -160,25 +142,23 @@ def create_namespaced_job_with_http_info(self, namespace, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Job', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Job', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_job(self, namespace, **kwargs): """ - delete collection of Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -209,9 +189,7 @@ def delete_collection_namespaced_job(self, namespace, **kwargs): def delete_collection_namespaced_job_with_http_info(self, namespace, **kwargs): """ - delete collection of Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -281,12 +259,9 @@ def delete_collection_namespaced_job_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -296,25 +271,23 @@ def delete_collection_namespaced_job_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_job(self, name, namespace, body, **kwargs): """ - delete a Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -327,7 +300,7 @@ def delete_namespaced_job(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -344,9 +317,7 @@ def delete_namespaced_job(self, name, namespace, body, **kwargs): def delete_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): """ - delete a Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -359,7 +330,7 @@ def delete_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -419,12 +390,9 @@ def delete_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -434,25 +402,23 @@ def delete_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def get_api_resources(self, **kwargs): """ - get available resources - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -476,9 +442,7 @@ def get_api_resources(self, **kwargs): def get_api_resources_with_http_info(self, **kwargs): """ - get available resources - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -510,7 +474,6 @@ def get_api_resources_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/apis/batch/v1/'.replace('{format}', 'json') @@ -524,12 +487,9 @@ def get_api_resources_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -539,25 +499,23 @@ def get_api_resources_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedAPIResourceList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedAPIResourceList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_job_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -587,9 +545,7 @@ def list_job_for_all_namespaces(self, **kwargs): def list_job_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -653,12 +609,9 @@ def list_job_for_all_namespaces_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -668,25 +621,23 @@ def list_job_for_all_namespaces_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1JobList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1JobList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_job(self, namespace, **kwargs): """ - list or watch objects of kind Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -717,9 +668,7 @@ def list_namespaced_job(self, namespace, **kwargs): def list_namespaced_job_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -789,12 +738,9 @@ def list_namespaced_job_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -804,25 +750,23 @@ def list_namespaced_job_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1JobList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1JobList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_job(self, name, namespace, body, **kwargs): """ - partially update the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -835,7 +779,7 @@ def patch_namespaced_job(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Job If the method is called asynchronously, @@ -850,9 +794,7 @@ def patch_namespaced_job(self, name, namespace, body, **kwargs): def patch_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -865,7 +807,7 @@ def patch_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Job If the method is called asynchronously, @@ -919,12 +861,9 @@ def patch_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -934,25 +873,23 @@ def patch_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Job', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Job', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_job_status(self, name, namespace, body, **kwargs): """ - partially update status of the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -965,7 +902,7 @@ def patch_namespaced_job_status(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Job If the method is called asynchronously, @@ -980,9 +917,7 @@ def patch_namespaced_job_status(self, name, namespace, body, **kwargs): def patch_namespaced_job_status_with_http_info(self, name, namespace, body, **kwargs): """ - partially update status of the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -995,7 +930,7 @@ def patch_namespaced_job_status_with_http_info(self, name, namespace, body, **kw for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Job If the method is called asynchronously, @@ -1049,12 +984,9 @@ def patch_namespaced_job_status_with_http_info(self, name, namespace, body, **kw body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1064,25 +996,23 @@ def patch_namespaced_job_status_with_http_info(self, name, namespace, body, **kw auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Job', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Job', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_job(self, name, namespace, **kwargs): """ - read the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1111,9 +1041,7 @@ def read_namespaced_job(self, name, namespace, **kwargs): def read_namespaced_job_with_http_info(self, name, namespace, **kwargs): """ - read the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1180,12 +1108,9 @@ def read_namespaced_job_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1195,25 +1120,23 @@ def read_namespaced_job_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Job', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Job', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_job_status(self, name, namespace, **kwargs): """ - read status of the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1240,9 +1163,7 @@ def read_namespaced_job_status(self, name, namespace, **kwargs): def read_namespaced_job_status_with_http_info(self, name, namespace, **kwargs): """ - read status of the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1303,12 +1224,9 @@ def read_namespaced_job_status_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1318,25 +1236,23 @@ def read_namespaced_job_status_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Job', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Job', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_job(self, name, namespace, body, **kwargs): """ - replace the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1349,7 +1265,7 @@ def replace_namespaced_job(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Job body: (required) + :param V1Job body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Job If the method is called asynchronously, @@ -1364,9 +1280,7 @@ def replace_namespaced_job(self, name, namespace, body, **kwargs): def replace_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1379,7 +1293,7 @@ def replace_namespaced_job_with_http_info(self, name, namespace, body, **kwargs) for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Job body: (required) + :param V1Job body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Job If the method is called asynchronously, @@ -1433,12 +1347,9 @@ def replace_namespaced_job_with_http_info(self, name, namespace, body, **kwargs) body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1448,25 +1359,23 @@ def replace_namespaced_job_with_http_info(self, name, namespace, body, **kwargs) auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Job', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Job', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_job_status(self, name, namespace, body, **kwargs): """ - replace status of the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1479,7 +1388,7 @@ def replace_namespaced_job_status(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Job body: (required) + :param V1Job body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Job If the method is called asynchronously, @@ -1494,9 +1403,7 @@ def replace_namespaced_job_status(self, name, namespace, body, **kwargs): def replace_namespaced_job_status_with_http_info(self, name, namespace, body, **kwargs): """ - replace status of the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1509,7 +1416,7 @@ def replace_namespaced_job_status_with_http_info(self, name, namespace, body, ** for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Job body: (required) + :param V1Job body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Job If the method is called asynchronously, @@ -1563,12 +1470,9 @@ def replace_namespaced_job_status_with_http_info(self, name, namespace, body, ** body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1578,16 +1482,16 @@ def replace_namespaced_job_status_with_http_info(self, name, namespace, body, ** auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Job', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Job', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/batch_v2alpha1_api.py b/kubernetes/client/apis/batch_v2alpha1_api.py index f7188bee22..bd16640c5f 100644 --- a/kubernetes/client/apis/batch_v2alpha1_api.py +++ b/kubernetes/client/apis/batch_v2alpha1_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,7 @@ def __init__(self, api_client=None): def create_namespaced_cron_job(self, namespace, body, **kwargs): """ - create a CronJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -67,7 +54,7 @@ def create_namespaced_cron_job(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V2alpha1CronJob body: (required) + :param V2alpha1CronJob body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1CronJob If the method is called asynchronously, @@ -82,9 +69,7 @@ def create_namespaced_cron_job(self, namespace, body, **kwargs): def create_namespaced_cron_job_with_http_info(self, namespace, body, **kwargs): """ - create a CronJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -96,7 +81,7 @@ def create_namespaced_cron_job_with_http_info(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V2alpha1CronJob body: (required) + :param V2alpha1CronJob body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1CronJob If the method is called asynchronously, @@ -145,12 +130,9 @@ def create_namespaced_cron_job_with_http_info(self, namespace, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -160,25 +142,23 @@ def create_namespaced_cron_job_with_http_info(self, namespace, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1CronJob', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1CronJob', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_job(self, namespace, body, **kwargs): """ - create a Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -190,7 +170,7 @@ def create_namespaced_job(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V2alpha1Job body: (required) + :param V2alpha1Job body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1Job If the method is called asynchronously, @@ -205,9 +185,7 @@ def create_namespaced_job(self, namespace, body, **kwargs): def create_namespaced_job_with_http_info(self, namespace, body, **kwargs): """ - create a Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -219,7 +197,7 @@ def create_namespaced_job_with_http_info(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V2alpha1Job body: (required) + :param V2alpha1Job body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1Job If the method is called asynchronously, @@ -268,12 +246,9 @@ def create_namespaced_job_with_http_info(self, namespace, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -283,25 +258,23 @@ def create_namespaced_job_with_http_info(self, namespace, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1Job', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1Job', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_scheduled_job(self, namespace, body, **kwargs): """ - create a ScheduledJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -313,7 +286,7 @@ def create_namespaced_scheduled_job(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V2alpha1CronJob body: (required) + :param V2alpha1CronJob body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1CronJob If the method is called asynchronously, @@ -328,9 +301,7 @@ def create_namespaced_scheduled_job(self, namespace, body, **kwargs): def create_namespaced_scheduled_job_with_http_info(self, namespace, body, **kwargs): """ - create a ScheduledJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -342,7 +313,7 @@ def create_namespaced_scheduled_job_with_http_info(self, namespace, body, **kwar :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V2alpha1CronJob body: (required) + :param V2alpha1CronJob body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1CronJob If the method is called asynchronously, @@ -391,12 +362,9 @@ def create_namespaced_scheduled_job_with_http_info(self, namespace, body, **kwar body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -406,25 +374,23 @@ def create_namespaced_scheduled_job_with_http_info(self, namespace, body, **kwar auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1CronJob', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1CronJob', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_cron_job(self, namespace, **kwargs): """ - delete collection of CronJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -455,9 +421,7 @@ def delete_collection_namespaced_cron_job(self, namespace, **kwargs): def delete_collection_namespaced_cron_job_with_http_info(self, namespace, **kwargs): """ - delete collection of CronJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -527,12 +491,9 @@ def delete_collection_namespaced_cron_job_with_http_info(self, namespace, **kwar local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -542,25 +503,23 @@ def delete_collection_namespaced_cron_job_with_http_info(self, namespace, **kwar auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_job(self, namespace, **kwargs): """ - delete collection of Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -591,9 +550,7 @@ def delete_collection_namespaced_job(self, namespace, **kwargs): def delete_collection_namespaced_job_with_http_info(self, namespace, **kwargs): """ - delete collection of Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -663,12 +620,9 @@ def delete_collection_namespaced_job_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -678,25 +632,23 @@ def delete_collection_namespaced_job_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_scheduled_job(self, namespace, **kwargs): """ - delete collection of ScheduledJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -727,9 +679,7 @@ def delete_collection_namespaced_scheduled_job(self, namespace, **kwargs): def delete_collection_namespaced_scheduled_job_with_http_info(self, namespace, **kwargs): """ - delete collection of ScheduledJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -799,12 +749,9 @@ def delete_collection_namespaced_scheduled_job_with_http_info(self, namespace, * local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -814,25 +761,23 @@ def delete_collection_namespaced_scheduled_job_with_http_info(self, namespace, * auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_cron_job(self, name, namespace, body, **kwargs): """ - delete a CronJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -845,7 +790,7 @@ def delete_namespaced_cron_job(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the CronJob (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -862,9 +807,7 @@ def delete_namespaced_cron_job(self, name, namespace, body, **kwargs): def delete_namespaced_cron_job_with_http_info(self, name, namespace, body, **kwargs): """ - delete a CronJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -877,7 +820,7 @@ def delete_namespaced_cron_job_with_http_info(self, name, namespace, body, **kwa for asynchronous request. (optional) :param str name: name of the CronJob (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -937,12 +880,9 @@ def delete_namespaced_cron_job_with_http_info(self, name, namespace, body, **kwa body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -952,25 +892,23 @@ def delete_namespaced_cron_job_with_http_info(self, name, namespace, body, **kwa auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_job(self, name, namespace, body, **kwargs): """ - delete a Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -983,7 +921,7 @@ def delete_namespaced_job(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -1000,9 +938,7 @@ def delete_namespaced_job(self, name, namespace, body, **kwargs): def delete_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): """ - delete a Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1015,7 +951,7 @@ def delete_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -1075,12 +1011,9 @@ def delete_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1090,25 +1023,23 @@ def delete_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_scheduled_job(self, name, namespace, body, **kwargs): """ - delete a ScheduledJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1121,7 +1052,7 @@ def delete_namespaced_scheduled_job(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the ScheduledJob (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -1138,9 +1069,7 @@ def delete_namespaced_scheduled_job(self, name, namespace, body, **kwargs): def delete_namespaced_scheduled_job_with_http_info(self, name, namespace, body, **kwargs): """ - delete a ScheduledJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1153,7 +1082,7 @@ def delete_namespaced_scheduled_job_with_http_info(self, name, namespace, body, for asynchronous request. (optional) :param str name: name of the ScheduledJob (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -1213,12 +1142,9 @@ def delete_namespaced_scheduled_job_with_http_info(self, name, namespace, body, body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1228,25 +1154,23 @@ def delete_namespaced_scheduled_job_with_http_info(self, name, namespace, body, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def get_api_resources(self, **kwargs): """ - get available resources - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1270,9 +1194,7 @@ def get_api_resources(self, **kwargs): def get_api_resources_with_http_info(self, **kwargs): """ - get available resources - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1304,7 +1226,6 @@ def get_api_resources_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/apis/batch/v2alpha1/'.replace('{format}', 'json') @@ -1318,12 +1239,9 @@ def get_api_resources_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1333,25 +1251,23 @@ def get_api_resources_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedAPIResourceList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedAPIResourceList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_cron_job_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind CronJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1381,9 +1297,7 @@ def list_cron_job_for_all_namespaces(self, **kwargs): def list_cron_job_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind CronJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1447,12 +1361,9 @@ def list_cron_job_for_all_namespaces_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1462,25 +1373,23 @@ def list_cron_job_for_all_namespaces_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1CronJobList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1CronJobList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_job_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1510,9 +1419,7 @@ def list_job_for_all_namespaces(self, **kwargs): def list_job_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1576,12 +1483,9 @@ def list_job_for_all_namespaces_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1591,25 +1495,23 @@ def list_job_for_all_namespaces_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1JobList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1JobList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_cron_job(self, namespace, **kwargs): """ - list or watch objects of kind CronJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1640,9 +1542,7 @@ def list_namespaced_cron_job(self, namespace, **kwargs): def list_namespaced_cron_job_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind CronJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1712,12 +1612,9 @@ def list_namespaced_cron_job_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1727,25 +1624,23 @@ def list_namespaced_cron_job_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1CronJobList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1CronJobList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_job(self, namespace, **kwargs): """ - list or watch objects of kind Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1776,9 +1671,7 @@ def list_namespaced_job(self, namespace, **kwargs): def list_namespaced_job_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1848,12 +1741,9 @@ def list_namespaced_job_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1863,25 +1753,23 @@ def list_namespaced_job_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1JobList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1JobList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_scheduled_job(self, namespace, **kwargs): """ - list or watch objects of kind ScheduledJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1912,9 +1800,7 @@ def list_namespaced_scheduled_job(self, namespace, **kwargs): def list_namespaced_scheduled_job_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind ScheduledJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1984,12 +1870,9 @@ def list_namespaced_scheduled_job_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1999,25 +1882,23 @@ def list_namespaced_scheduled_job_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1CronJobList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1CronJobList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_scheduled_job_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind ScheduledJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2047,9 +1928,7 @@ def list_scheduled_job_for_all_namespaces(self, **kwargs): def list_scheduled_job_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind ScheduledJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2113,12 +1992,9 @@ def list_scheduled_job_for_all_namespaces_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2128,25 +2004,23 @@ def list_scheduled_job_for_all_namespaces_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1CronJobList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1CronJobList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_cron_job(self, name, namespace, body, **kwargs): """ - partially update the specified CronJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2159,7 +2033,7 @@ def patch_namespaced_cron_job(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the CronJob (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1CronJob If the method is called asynchronously, @@ -2174,9 +2048,7 @@ def patch_namespaced_cron_job(self, name, namespace, body, **kwargs): def patch_namespaced_cron_job_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified CronJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2189,7 +2061,7 @@ def patch_namespaced_cron_job_with_http_info(self, name, namespace, body, **kwar for asynchronous request. (optional) :param str name: name of the CronJob (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1CronJob If the method is called asynchronously, @@ -2243,12 +2115,9 @@ def patch_namespaced_cron_job_with_http_info(self, name, namespace, body, **kwar body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2258,25 +2127,23 @@ def patch_namespaced_cron_job_with_http_info(self, name, namespace, body, **kwar auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1CronJob', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1CronJob', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_cron_job_status(self, name, namespace, body, **kwargs): """ - partially update status of the specified CronJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2289,7 +2156,7 @@ def patch_namespaced_cron_job_status(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the CronJob (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1CronJob If the method is called asynchronously, @@ -2304,9 +2171,7 @@ def patch_namespaced_cron_job_status(self, name, namespace, body, **kwargs): def patch_namespaced_cron_job_status_with_http_info(self, name, namespace, body, **kwargs): """ - partially update status of the specified CronJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2319,7 +2184,7 @@ def patch_namespaced_cron_job_status_with_http_info(self, name, namespace, body, for asynchronous request. (optional) :param str name: name of the CronJob (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1CronJob If the method is called asynchronously, @@ -2373,12 +2238,9 @@ def patch_namespaced_cron_job_status_with_http_info(self, name, namespace, body, body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2388,25 +2250,23 @@ def patch_namespaced_cron_job_status_with_http_info(self, name, namespace, body, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1CronJob', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1CronJob', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_job(self, name, namespace, body, **kwargs): """ - partially update the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2419,7 +2279,7 @@ def patch_namespaced_job(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1Job If the method is called asynchronously, @@ -2434,9 +2294,7 @@ def patch_namespaced_job(self, name, namespace, body, **kwargs): def patch_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2449,7 +2307,7 @@ def patch_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1Job If the method is called asynchronously, @@ -2503,12 +2361,9 @@ def patch_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2518,25 +2373,23 @@ def patch_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1Job', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1Job', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_job_status(self, name, namespace, body, **kwargs): """ - partially update status of the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2549,7 +2402,7 @@ def patch_namespaced_job_status(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1Job If the method is called asynchronously, @@ -2564,9 +2417,7 @@ def patch_namespaced_job_status(self, name, namespace, body, **kwargs): def patch_namespaced_job_status_with_http_info(self, name, namespace, body, **kwargs): """ - partially update status of the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2579,7 +2430,7 @@ def patch_namespaced_job_status_with_http_info(self, name, namespace, body, **kw for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1Job If the method is called asynchronously, @@ -2633,12 +2484,9 @@ def patch_namespaced_job_status_with_http_info(self, name, namespace, body, **kw body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2648,25 +2496,23 @@ def patch_namespaced_job_status_with_http_info(self, name, namespace, body, **kw auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1Job', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1Job', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_scheduled_job(self, name, namespace, body, **kwargs): """ - partially update the specified ScheduledJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2679,7 +2525,7 @@ def patch_namespaced_scheduled_job(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the ScheduledJob (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1CronJob If the method is called asynchronously, @@ -2694,9 +2540,7 @@ def patch_namespaced_scheduled_job(self, name, namespace, body, **kwargs): def patch_namespaced_scheduled_job_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified ScheduledJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2709,7 +2553,7 @@ def patch_namespaced_scheduled_job_with_http_info(self, name, namespace, body, * for asynchronous request. (optional) :param str name: name of the ScheduledJob (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1CronJob If the method is called asynchronously, @@ -2763,12 +2607,9 @@ def patch_namespaced_scheduled_job_with_http_info(self, name, namespace, body, * body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2778,25 +2619,23 @@ def patch_namespaced_scheduled_job_with_http_info(self, name, namespace, body, * auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1CronJob', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1CronJob', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_scheduled_job_status(self, name, namespace, body, **kwargs): """ - partially update status of the specified ScheduledJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2809,7 +2648,7 @@ def patch_namespaced_scheduled_job_status(self, name, namespace, body, **kwargs) for asynchronous request. (optional) :param str name: name of the ScheduledJob (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1CronJob If the method is called asynchronously, @@ -2824,9 +2663,7 @@ def patch_namespaced_scheduled_job_status(self, name, namespace, body, **kwargs) def patch_namespaced_scheduled_job_status_with_http_info(self, name, namespace, body, **kwargs): """ - partially update status of the specified ScheduledJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2839,7 +2676,7 @@ def patch_namespaced_scheduled_job_status_with_http_info(self, name, namespace, for asynchronous request. (optional) :param str name: name of the ScheduledJob (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1CronJob If the method is called asynchronously, @@ -2893,12 +2730,9 @@ def patch_namespaced_scheduled_job_status_with_http_info(self, name, namespace, body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2908,25 +2742,23 @@ def patch_namespaced_scheduled_job_status_with_http_info(self, name, namespace, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1CronJob', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1CronJob', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_cron_job(self, name, namespace, **kwargs): """ - read the specified CronJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2955,9 +2787,7 @@ def read_namespaced_cron_job(self, name, namespace, **kwargs): def read_namespaced_cron_job_with_http_info(self, name, namespace, **kwargs): """ - read the specified CronJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3024,12 +2854,9 @@ def read_namespaced_cron_job_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3039,25 +2866,23 @@ def read_namespaced_cron_job_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1CronJob', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1CronJob', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_cron_job_status(self, name, namespace, **kwargs): """ - read status of the specified CronJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3084,9 +2909,7 @@ def read_namespaced_cron_job_status(self, name, namespace, **kwargs): def read_namespaced_cron_job_status_with_http_info(self, name, namespace, **kwargs): """ - read status of the specified CronJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3147,12 +2970,9 @@ def read_namespaced_cron_job_status_with_http_info(self, name, namespace, **kwar local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3162,25 +2982,23 @@ def read_namespaced_cron_job_status_with_http_info(self, name, namespace, **kwar auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1CronJob', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1CronJob', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_job(self, name, namespace, **kwargs): """ - read the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3209,9 +3027,7 @@ def read_namespaced_job(self, name, namespace, **kwargs): def read_namespaced_job_with_http_info(self, name, namespace, **kwargs): """ - read the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3278,12 +3094,9 @@ def read_namespaced_job_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3293,25 +3106,23 @@ def read_namespaced_job_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1Job', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1Job', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_job_status(self, name, namespace, **kwargs): """ - read status of the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3338,9 +3149,7 @@ def read_namespaced_job_status(self, name, namespace, **kwargs): def read_namespaced_job_status_with_http_info(self, name, namespace, **kwargs): """ - read status of the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3401,12 +3210,9 @@ def read_namespaced_job_status_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3416,25 +3222,23 @@ def read_namespaced_job_status_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1Job', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1Job', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_scheduled_job(self, name, namespace, **kwargs): """ - read the specified ScheduledJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3463,9 +3267,7 @@ def read_namespaced_scheduled_job(self, name, namespace, **kwargs): def read_namespaced_scheduled_job_with_http_info(self, name, namespace, **kwargs): """ - read the specified ScheduledJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3532,12 +3334,9 @@ def read_namespaced_scheduled_job_with_http_info(self, name, namespace, **kwargs local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3547,25 +3346,23 @@ def read_namespaced_scheduled_job_with_http_info(self, name, namespace, **kwargs auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1CronJob', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1CronJob', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_scheduled_job_status(self, name, namespace, **kwargs): """ - read status of the specified ScheduledJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3592,9 +3389,7 @@ def read_namespaced_scheduled_job_status(self, name, namespace, **kwargs): def read_namespaced_scheduled_job_status_with_http_info(self, name, namespace, **kwargs): """ - read status of the specified ScheduledJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3655,12 +3450,9 @@ def read_namespaced_scheduled_job_status_with_http_info(self, name, namespace, * local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3670,25 +3462,23 @@ def read_namespaced_scheduled_job_status_with_http_info(self, name, namespace, * auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1CronJob', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1CronJob', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_cron_job(self, name, namespace, body, **kwargs): """ - replace the specified CronJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3701,7 +3491,7 @@ def replace_namespaced_cron_job(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the CronJob (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V2alpha1CronJob body: (required) + :param V2alpha1CronJob body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1CronJob If the method is called asynchronously, @@ -3716,9 +3506,7 @@ def replace_namespaced_cron_job(self, name, namespace, body, **kwargs): def replace_namespaced_cron_job_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified CronJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3731,7 +3519,7 @@ def replace_namespaced_cron_job_with_http_info(self, name, namespace, body, **kw for asynchronous request. (optional) :param str name: name of the CronJob (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V2alpha1CronJob body: (required) + :param V2alpha1CronJob body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1CronJob If the method is called asynchronously, @@ -3785,12 +3573,9 @@ def replace_namespaced_cron_job_with_http_info(self, name, namespace, body, **kw body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3800,25 +3585,23 @@ def replace_namespaced_cron_job_with_http_info(self, name, namespace, body, **kw auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1CronJob', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1CronJob', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_cron_job_status(self, name, namespace, body, **kwargs): """ - replace status of the specified CronJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3831,7 +3614,7 @@ def replace_namespaced_cron_job_status(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the CronJob (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V2alpha1CronJob body: (required) + :param V2alpha1CronJob body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1CronJob If the method is called asynchronously, @@ -3846,9 +3629,7 @@ def replace_namespaced_cron_job_status(self, name, namespace, body, **kwargs): def replace_namespaced_cron_job_status_with_http_info(self, name, namespace, body, **kwargs): """ - replace status of the specified CronJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3861,7 +3642,7 @@ def replace_namespaced_cron_job_status_with_http_info(self, name, namespace, bod for asynchronous request. (optional) :param str name: name of the CronJob (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V2alpha1CronJob body: (required) + :param V2alpha1CronJob body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1CronJob If the method is called asynchronously, @@ -3915,12 +3696,9 @@ def replace_namespaced_cron_job_status_with_http_info(self, name, namespace, bod body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3930,25 +3708,23 @@ def replace_namespaced_cron_job_status_with_http_info(self, name, namespace, bod auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1CronJob', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1CronJob', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_job(self, name, namespace, body, **kwargs): """ - replace the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3961,7 +3737,7 @@ def replace_namespaced_job(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V2alpha1Job body: (required) + :param V2alpha1Job body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1Job If the method is called asynchronously, @@ -3976,9 +3752,7 @@ def replace_namespaced_job(self, name, namespace, body, **kwargs): def replace_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3991,7 +3765,7 @@ def replace_namespaced_job_with_http_info(self, name, namespace, body, **kwargs) for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V2alpha1Job body: (required) + :param V2alpha1Job body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1Job If the method is called asynchronously, @@ -4045,12 +3819,9 @@ def replace_namespaced_job_with_http_info(self, name, namespace, body, **kwargs) body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -4060,25 +3831,23 @@ def replace_namespaced_job_with_http_info(self, name, namespace, body, **kwargs) auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1Job', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1Job', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_job_status(self, name, namespace, body, **kwargs): """ - replace status of the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4091,7 +3860,7 @@ def replace_namespaced_job_status(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V2alpha1Job body: (required) + :param V2alpha1Job body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1Job If the method is called asynchronously, @@ -4106,9 +3875,7 @@ def replace_namespaced_job_status(self, name, namespace, body, **kwargs): def replace_namespaced_job_status_with_http_info(self, name, namespace, body, **kwargs): """ - replace status of the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4121,7 +3888,7 @@ def replace_namespaced_job_status_with_http_info(self, name, namespace, body, ** for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V2alpha1Job body: (required) + :param V2alpha1Job body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1Job If the method is called asynchronously, @@ -4175,12 +3942,9 @@ def replace_namespaced_job_status_with_http_info(self, name, namespace, body, ** body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -4190,25 +3954,23 @@ def replace_namespaced_job_status_with_http_info(self, name, namespace, body, ** auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1Job', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1Job', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_scheduled_job(self, name, namespace, body, **kwargs): """ - replace the specified ScheduledJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4221,7 +3983,7 @@ def replace_namespaced_scheduled_job(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the ScheduledJob (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V2alpha1CronJob body: (required) + :param V2alpha1CronJob body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1CronJob If the method is called asynchronously, @@ -4236,9 +3998,7 @@ def replace_namespaced_scheduled_job(self, name, namespace, body, **kwargs): def replace_namespaced_scheduled_job_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified ScheduledJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4251,7 +4011,7 @@ def replace_namespaced_scheduled_job_with_http_info(self, name, namespace, body, for asynchronous request. (optional) :param str name: name of the ScheduledJob (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V2alpha1CronJob body: (required) + :param V2alpha1CronJob body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1CronJob If the method is called asynchronously, @@ -4305,12 +4065,9 @@ def replace_namespaced_scheduled_job_with_http_info(self, name, namespace, body, body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -4320,25 +4077,23 @@ def replace_namespaced_scheduled_job_with_http_info(self, name, namespace, body, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1CronJob', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1CronJob', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_scheduled_job_status(self, name, namespace, body, **kwargs): """ - replace status of the specified ScheduledJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4351,7 +4106,7 @@ def replace_namespaced_scheduled_job_status(self, name, namespace, body, **kwarg for asynchronous request. (optional) :param str name: name of the ScheduledJob (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V2alpha1CronJob body: (required) + :param V2alpha1CronJob body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1CronJob If the method is called asynchronously, @@ -4366,9 +4121,7 @@ def replace_namespaced_scheduled_job_status(self, name, namespace, body, **kwarg def replace_namespaced_scheduled_job_status_with_http_info(self, name, namespace, body, **kwargs): """ - replace status of the specified ScheduledJob - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4381,7 +4134,7 @@ def replace_namespaced_scheduled_job_status_with_http_info(self, name, namespace for asynchronous request. (optional) :param str name: name of the ScheduledJob (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V2alpha1CronJob body: (required) + :param V2alpha1CronJob body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V2alpha1CronJob If the method is called asynchronously, @@ -4435,12 +4188,9 @@ def replace_namespaced_scheduled_job_status_with_http_info(self, name, namespace body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -4450,16 +4200,16 @@ def replace_namespaced_scheduled_job_status_with_http_info(self, name, namespace auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V2alpha1CronJob', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V2alpha1CronJob', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/certificates_api.py b/kubernetes/client/apis/certificates_api.py index 826e06aae7..11627e9ad6 100644 --- a/kubernetes/client/apis/certificates_api.py +++ b/kubernetes/client/apis/certificates_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,7 @@ def __init__(self, api_client=None): def get_api_group(self, **kwargs): """ - get information of a group - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -79,9 +66,7 @@ def get_api_group(self, **kwargs): def get_api_group_with_http_info(self, **kwargs): """ - get information of a group - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -113,7 +98,6 @@ def get_api_group_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/apis/certificates.k8s.io/'.replace('{format}', 'json') @@ -127,12 +111,9 @@ def get_api_group_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -142,16 +123,16 @@ def get_api_group_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedAPIGroup', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedAPIGroup', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/certificates_v1alpha1_api.py b/kubernetes/client/apis/certificates_v1alpha1_api.py index 239fd28751..cd895af19a 100644 --- a/kubernetes/client/apis/certificates_v1alpha1_api.py +++ b/kubernetes/client/apis/certificates_v1alpha1_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,7 @@ def __init__(self, api_client=None): def create_certificate_signing_request(self, body, **kwargs): """ - create a CertificateSigningRequest - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -66,7 +53,7 @@ def create_certificate_signing_request(self, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1alpha1CertificateSigningRequest body: (required) + :param V1alpha1CertificateSigningRequest body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1CertificateSigningRequest If the method is called asynchronously, @@ -81,9 +68,7 @@ def create_certificate_signing_request(self, body, **kwargs): def create_certificate_signing_request_with_http_info(self, body, **kwargs): """ - create a CertificateSigningRequest - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -94,7 +79,7 @@ def create_certificate_signing_request_with_http_info(self, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1alpha1CertificateSigningRequest body: (required) + :param V1alpha1CertificateSigningRequest body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1CertificateSigningRequest If the method is called asynchronously, @@ -138,12 +123,9 @@ def create_certificate_signing_request_with_http_info(self, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -153,25 +135,23 @@ def create_certificate_signing_request_with_http_info(self, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1CertificateSigningRequest', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1CertificateSigningRequest', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_certificate_signing_request(self, name, body, **kwargs): """ - delete a CertificateSigningRequest - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -183,7 +163,7 @@ def delete_certificate_signing_request(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the CertificateSigningRequest (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -200,9 +180,7 @@ def delete_certificate_signing_request(self, name, body, **kwargs): def delete_certificate_signing_request_with_http_info(self, name, body, **kwargs): """ - delete a CertificateSigningRequest - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -214,7 +192,7 @@ def delete_certificate_signing_request_with_http_info(self, name, body, **kwargs :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the CertificateSigningRequest (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -269,12 +247,9 @@ def delete_certificate_signing_request_with_http_info(self, name, body, **kwargs body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -284,25 +259,23 @@ def delete_certificate_signing_request_with_http_info(self, name, body, **kwargs auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_certificate_signing_request(self, **kwargs): """ - delete collection of CertificateSigningRequest - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -332,9 +305,7 @@ def delete_collection_certificate_signing_request(self, **kwargs): def delete_collection_certificate_signing_request_with_http_info(self, **kwargs): """ - delete collection of CertificateSigningRequest - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -398,12 +369,9 @@ def delete_collection_certificate_signing_request_with_http_info(self, **kwargs) local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -413,25 +381,23 @@ def delete_collection_certificate_signing_request_with_http_info(self, **kwargs) auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def get_api_resources(self, **kwargs): """ - get available resources - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -455,9 +421,7 @@ def get_api_resources(self, **kwargs): def get_api_resources_with_http_info(self, **kwargs): """ - get available resources - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -489,7 +453,6 @@ def get_api_resources_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/apis/certificates.k8s.io/v1alpha1/'.replace('{format}', 'json') @@ -503,12 +466,9 @@ def get_api_resources_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -518,25 +478,23 @@ def get_api_resources_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedAPIResourceList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedAPIResourceList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_certificate_signing_request(self, **kwargs): """ - list or watch objects of kind CertificateSigningRequest - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -566,9 +524,7 @@ def list_certificate_signing_request(self, **kwargs): def list_certificate_signing_request_with_http_info(self, **kwargs): """ - list or watch objects of kind CertificateSigningRequest - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -632,12 +588,9 @@ def list_certificate_signing_request_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -647,25 +600,23 @@ def list_certificate_signing_request_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1CertificateSigningRequestList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1CertificateSigningRequestList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_certificate_signing_request(self, name, body, **kwargs): """ - partially update the specified CertificateSigningRequest - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -677,7 +628,7 @@ def patch_certificate_signing_request(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the CertificateSigningRequest (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1CertificateSigningRequest If the method is called asynchronously, @@ -692,9 +643,7 @@ def patch_certificate_signing_request(self, name, body, **kwargs): def patch_certificate_signing_request_with_http_info(self, name, body, **kwargs): """ - partially update the specified CertificateSigningRequest - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -706,7 +655,7 @@ def patch_certificate_signing_request_with_http_info(self, name, body, **kwargs) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the CertificateSigningRequest (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1CertificateSigningRequest If the method is called asynchronously, @@ -755,12 +704,9 @@ def patch_certificate_signing_request_with_http_info(self, name, body, **kwargs) body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -770,25 +716,23 @@ def patch_certificate_signing_request_with_http_info(self, name, body, **kwargs) auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1CertificateSigningRequest', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1CertificateSigningRequest', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_certificate_signing_request(self, name, **kwargs): """ - read the specified CertificateSigningRequest - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -816,9 +760,7 @@ def read_certificate_signing_request(self, name, **kwargs): def read_certificate_signing_request_with_http_info(self, name, **kwargs): """ - read the specified CertificateSigningRequest - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -879,12 +821,9 @@ def read_certificate_signing_request_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -894,25 +833,23 @@ def read_certificate_signing_request_with_http_info(self, name, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1CertificateSigningRequest', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1CertificateSigningRequest', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_certificate_signing_request(self, name, body, **kwargs): """ - replace the specified CertificateSigningRequest - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -924,7 +861,7 @@ def replace_certificate_signing_request(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the CertificateSigningRequest (required) - :param V1alpha1CertificateSigningRequest body: (required) + :param V1alpha1CertificateSigningRequest body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1CertificateSigningRequest If the method is called asynchronously, @@ -939,9 +876,7 @@ def replace_certificate_signing_request(self, name, body, **kwargs): def replace_certificate_signing_request_with_http_info(self, name, body, **kwargs): """ - replace the specified CertificateSigningRequest - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -953,7 +888,7 @@ def replace_certificate_signing_request_with_http_info(self, name, body, **kwarg :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the CertificateSigningRequest (required) - :param V1alpha1CertificateSigningRequest body: (required) + :param V1alpha1CertificateSigningRequest body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1CertificateSigningRequest If the method is called asynchronously, @@ -1002,12 +937,9 @@ def replace_certificate_signing_request_with_http_info(self, name, body, **kwarg body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1017,25 +949,23 @@ def replace_certificate_signing_request_with_http_info(self, name, body, **kwarg auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1CertificateSigningRequest', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1CertificateSigningRequest', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_certificate_signing_request_approval(self, body, name, **kwargs): """ - replace approval of the specified CertificateSigningRequest - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1046,7 +976,7 @@ def replace_certificate_signing_request_approval(self, body, name, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1alpha1CertificateSigningRequest body: (required) + :param V1alpha1CertificateSigningRequest body: (required) :param str name: name of the CertificateSigningRequest (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1CertificateSigningRequest @@ -1062,9 +992,7 @@ def replace_certificate_signing_request_approval(self, body, name, **kwargs): def replace_certificate_signing_request_approval_with_http_info(self, body, name, **kwargs): """ - replace approval of the specified CertificateSigningRequest - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1075,7 +1003,7 @@ def replace_certificate_signing_request_approval_with_http_info(self, body, name :param callback function: The callback function for asynchronous request. (optional) - :param V1alpha1CertificateSigningRequest body: (required) + :param V1alpha1CertificateSigningRequest body: (required) :param str name: name of the CertificateSigningRequest (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1CertificateSigningRequest @@ -1125,12 +1053,9 @@ def replace_certificate_signing_request_approval_with_http_info(self, body, name body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1140,25 +1065,23 @@ def replace_certificate_signing_request_approval_with_http_info(self, body, name auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1CertificateSigningRequest', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1CertificateSigningRequest', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_certificate_signing_request_status(self, body, name, **kwargs): """ - replace status of the specified CertificateSigningRequest - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1169,7 +1092,7 @@ def replace_certificate_signing_request_status(self, body, name, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1alpha1CertificateSigningRequest body: (required) + :param V1alpha1CertificateSigningRequest body: (required) :param str name: name of the CertificateSigningRequest (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1CertificateSigningRequest @@ -1185,9 +1108,7 @@ def replace_certificate_signing_request_status(self, body, name, **kwargs): def replace_certificate_signing_request_status_with_http_info(self, body, name, **kwargs): """ - replace status of the specified CertificateSigningRequest - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1198,7 +1119,7 @@ def replace_certificate_signing_request_status_with_http_info(self, body, name, :param callback function: The callback function for asynchronous request. (optional) - :param V1alpha1CertificateSigningRequest body: (required) + :param V1alpha1CertificateSigningRequest body: (required) :param str name: name of the CertificateSigningRequest (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1CertificateSigningRequest @@ -1248,12 +1169,9 @@ def replace_certificate_signing_request_status_with_http_info(self, body, name, body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1263,16 +1181,16 @@ def replace_certificate_signing_request_status_with_http_info(self, body, name, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1CertificateSigningRequest', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1CertificateSigningRequest', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/core_api.py b/kubernetes/client/apis/core_api.py index 569401dea4..13cb84b8ac 100644 --- a/kubernetes/client/apis/core_api.py +++ b/kubernetes/client/apis/core_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,7 @@ def __init__(self, api_client=None): def get_api_versions(self, **kwargs): """ - get available API versions - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -79,9 +66,7 @@ def get_api_versions(self, **kwargs): def get_api_versions_with_http_info(self, **kwargs): """ - get available API versions - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -113,7 +98,6 @@ def get_api_versions_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/api/'.replace('{format}', 'json') @@ -127,12 +111,9 @@ def get_api_versions_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -142,16 +123,16 @@ def get_api_versions_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedAPIVersions', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedAPIVersions', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/core_v1_api.py b/kubernetes/client/apis/core_v1_api.py index 7fa85f1288..3e45774498 100644 --- a/kubernetes/client/apis/core_v1_api.py +++ b/kubernetes/client/apis/core_v1_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,7 @@ def __init__(self, api_client=None): def connect_delete_namespaced_pod_proxy(self, name, namespace, **kwargs): """ - connect DELETE requests to proxy of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -82,9 +69,7 @@ def connect_delete_namespaced_pod_proxy(self, name, namespace, **kwargs): def connect_delete_namespaced_pod_proxy_with_http_info(self, name, namespace, **kwargs): """ - connect DELETE requests to proxy of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -145,12 +130,9 @@ def connect_delete_namespaced_pod_proxy_with_http_info(self, name, namespace, ** local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -160,25 +142,23 @@ def connect_delete_namespaced_pod_proxy_with_http_info(self, name, namespace, ** auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_delete_namespaced_pod_proxy_with_path(self, name, namespace, path, **kwargs): """ - connect DELETE requests to proxy of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -206,9 +186,7 @@ def connect_delete_namespaced_pod_proxy_with_path(self, name, namespace, path, * def connect_delete_namespaced_pod_proxy_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - connect DELETE requests to proxy of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -275,12 +253,9 @@ def connect_delete_namespaced_pod_proxy_with_path_with_http_info(self, name, nam local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -290,25 +265,23 @@ def connect_delete_namespaced_pod_proxy_with_path_with_http_info(self, name, nam auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_delete_namespaced_service_proxy(self, name, namespace, **kwargs): """ - connect DELETE requests to proxy of Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -335,9 +308,7 @@ def connect_delete_namespaced_service_proxy(self, name, namespace, **kwargs): def connect_delete_namespaced_service_proxy_with_http_info(self, name, namespace, **kwargs): """ - connect DELETE requests to proxy of Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -398,12 +369,9 @@ def connect_delete_namespaced_service_proxy_with_http_info(self, name, namespace local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -413,25 +381,23 @@ def connect_delete_namespaced_service_proxy_with_http_info(self, name, namespace auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_delete_namespaced_service_proxy_with_path(self, name, namespace, path, **kwargs): """ - connect DELETE requests to proxy of Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -459,9 +425,7 @@ def connect_delete_namespaced_service_proxy_with_path(self, name, namespace, pat def connect_delete_namespaced_service_proxy_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - connect DELETE requests to proxy of Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -528,12 +492,9 @@ def connect_delete_namespaced_service_proxy_with_path_with_http_info(self, name, local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -543,25 +504,23 @@ def connect_delete_namespaced_service_proxy_with_path_with_http_info(self, name, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_delete_node_proxy(self, name, **kwargs): """ - connect DELETE requests to proxy of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -587,9 +546,7 @@ def connect_delete_node_proxy(self, name, **kwargs): def connect_delete_node_proxy_with_http_info(self, name, **kwargs): """ - connect DELETE requests to proxy of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -644,12 +601,9 @@ def connect_delete_node_proxy_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -659,25 +613,23 @@ def connect_delete_node_proxy_with_http_info(self, name, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_delete_node_proxy_with_path(self, name, path, **kwargs): """ - connect DELETE requests to proxy of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -704,9 +656,7 @@ def connect_delete_node_proxy_with_path(self, name, path, **kwargs): def connect_delete_node_proxy_with_path_with_http_info(self, name, path, **kwargs): """ - connect DELETE requests to proxy of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -767,12 +717,9 @@ def connect_delete_node_proxy_with_path_with_http_info(self, name, path, **kwarg local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -782,25 +729,23 @@ def connect_delete_node_proxy_with_path_with_http_info(self, name, path, **kwarg auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_get_namespaced_pod_attach(self, name, namespace, **kwargs): """ - connect GET requests to attach of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -831,9 +776,7 @@ def connect_get_namespaced_pod_attach(self, name, namespace, **kwargs): def connect_get_namespaced_pod_attach_with_http_info(self, name, namespace, **kwargs): """ - connect GET requests to attach of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -906,12 +849,9 @@ def connect_get_namespaced_pod_attach_with_http_info(self, name, namespace, **kw local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -921,25 +861,23 @@ def connect_get_namespaced_pod_attach_with_http_info(self, name, namespace, **kw auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_get_namespaced_pod_exec(self, name, namespace, **kwargs): """ - connect GET requests to exec of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -971,9 +909,7 @@ def connect_get_namespaced_pod_exec(self, name, namespace, **kwargs): def connect_get_namespaced_pod_exec_with_http_info(self, name, namespace, **kwargs): """ - connect GET requests to exec of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1049,12 +985,9 @@ def connect_get_namespaced_pod_exec_with_http_info(self, name, namespace, **kwar local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1064,25 +997,23 @@ def connect_get_namespaced_pod_exec_with_http_info(self, name, namespace, **kwar auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_get_namespaced_pod_portforward(self, name, namespace, **kwargs): """ - connect GET requests to portforward of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1108,9 +1039,7 @@ def connect_get_namespaced_pod_portforward(self, name, namespace, **kwargs): def connect_get_namespaced_pod_portforward_with_http_info(self, name, namespace, **kwargs): """ - connect GET requests to portforward of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1168,12 +1097,9 @@ def connect_get_namespaced_pod_portforward_with_http_info(self, name, namespace, local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1183,25 +1109,23 @@ def connect_get_namespaced_pod_portforward_with_http_info(self, name, namespace, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_get_namespaced_pod_proxy(self, name, namespace, **kwargs): """ - connect GET requests to proxy of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1228,9 +1152,7 @@ def connect_get_namespaced_pod_proxy(self, name, namespace, **kwargs): def connect_get_namespaced_pod_proxy_with_http_info(self, name, namespace, **kwargs): """ - connect GET requests to proxy of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1291,12 +1213,9 @@ def connect_get_namespaced_pod_proxy_with_http_info(self, name, namespace, **kwa local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1306,25 +1225,23 @@ def connect_get_namespaced_pod_proxy_with_http_info(self, name, namespace, **kwa auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_get_namespaced_pod_proxy_with_path(self, name, namespace, path, **kwargs): """ - connect GET requests to proxy of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1352,9 +1269,7 @@ def connect_get_namespaced_pod_proxy_with_path(self, name, namespace, path, **kw def connect_get_namespaced_pod_proxy_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - connect GET requests to proxy of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1421,12 +1336,9 @@ def connect_get_namespaced_pod_proxy_with_path_with_http_info(self, name, namesp local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1436,25 +1348,23 @@ def connect_get_namespaced_pod_proxy_with_path_with_http_info(self, name, namesp auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_get_namespaced_service_proxy(self, name, namespace, **kwargs): """ - connect GET requests to proxy of Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1481,9 +1391,7 @@ def connect_get_namespaced_service_proxy(self, name, namespace, **kwargs): def connect_get_namespaced_service_proxy_with_http_info(self, name, namespace, **kwargs): """ - connect GET requests to proxy of Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1544,12 +1452,9 @@ def connect_get_namespaced_service_proxy_with_http_info(self, name, namespace, * local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1559,25 +1464,23 @@ def connect_get_namespaced_service_proxy_with_http_info(self, name, namespace, * auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_get_namespaced_service_proxy_with_path(self, name, namespace, path, **kwargs): """ - connect GET requests to proxy of Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1605,9 +1508,7 @@ def connect_get_namespaced_service_proxy_with_path(self, name, namespace, path, def connect_get_namespaced_service_proxy_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - connect GET requests to proxy of Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1674,12 +1575,9 @@ def connect_get_namespaced_service_proxy_with_path_with_http_info(self, name, na local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1689,25 +1587,23 @@ def connect_get_namespaced_service_proxy_with_path_with_http_info(self, name, na auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_get_node_proxy(self, name, **kwargs): """ - connect GET requests to proxy of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1733,9 +1629,7 @@ def connect_get_node_proxy(self, name, **kwargs): def connect_get_node_proxy_with_http_info(self, name, **kwargs): """ - connect GET requests to proxy of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1790,12 +1684,9 @@ def connect_get_node_proxy_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1805,25 +1696,23 @@ def connect_get_node_proxy_with_http_info(self, name, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_get_node_proxy_with_path(self, name, path, **kwargs): """ - connect GET requests to proxy of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1850,9 +1739,7 @@ def connect_get_node_proxy_with_path(self, name, path, **kwargs): def connect_get_node_proxy_with_path_with_http_info(self, name, path, **kwargs): """ - connect GET requests to proxy of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1913,12 +1800,9 @@ def connect_get_node_proxy_with_path_with_http_info(self, name, path, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1928,25 +1812,23 @@ def connect_get_node_proxy_with_path_with_http_info(self, name, path, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_head_namespaced_pod_proxy(self, name, namespace, **kwargs): """ - connect HEAD requests to proxy of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1973,9 +1855,7 @@ def connect_head_namespaced_pod_proxy(self, name, namespace, **kwargs): def connect_head_namespaced_pod_proxy_with_http_info(self, name, namespace, **kwargs): """ - connect HEAD requests to proxy of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2036,12 +1916,9 @@ def connect_head_namespaced_pod_proxy_with_http_info(self, name, namespace, **kw local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2051,25 +1928,23 @@ def connect_head_namespaced_pod_proxy_with_http_info(self, name, namespace, **kw auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'HEAD', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_head_namespaced_pod_proxy_with_path(self, name, namespace, path, **kwargs): """ - connect HEAD requests to proxy of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2097,9 +1972,7 @@ def connect_head_namespaced_pod_proxy_with_path(self, name, namespace, path, **k def connect_head_namespaced_pod_proxy_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - connect HEAD requests to proxy of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2166,12 +2039,9 @@ def connect_head_namespaced_pod_proxy_with_path_with_http_info(self, name, names local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2181,25 +2051,23 @@ def connect_head_namespaced_pod_proxy_with_path_with_http_info(self, name, names auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'HEAD', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_head_namespaced_service_proxy(self, name, namespace, **kwargs): """ - connect HEAD requests to proxy of Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2226,9 +2094,7 @@ def connect_head_namespaced_service_proxy(self, name, namespace, **kwargs): def connect_head_namespaced_service_proxy_with_http_info(self, name, namespace, **kwargs): """ - connect HEAD requests to proxy of Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2289,12 +2155,9 @@ def connect_head_namespaced_service_proxy_with_http_info(self, name, namespace, local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2304,25 +2167,23 @@ def connect_head_namespaced_service_proxy_with_http_info(self, name, namespace, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'HEAD', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_head_namespaced_service_proxy_with_path(self, name, namespace, path, **kwargs): """ - connect HEAD requests to proxy of Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2350,9 +2211,7 @@ def connect_head_namespaced_service_proxy_with_path(self, name, namespace, path, def connect_head_namespaced_service_proxy_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - connect HEAD requests to proxy of Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2419,12 +2278,9 @@ def connect_head_namespaced_service_proxy_with_path_with_http_info(self, name, n local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2434,25 +2290,23 @@ def connect_head_namespaced_service_proxy_with_path_with_http_info(self, name, n auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'HEAD', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_head_node_proxy(self, name, **kwargs): """ - connect HEAD requests to proxy of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2478,9 +2332,7 @@ def connect_head_node_proxy(self, name, **kwargs): def connect_head_node_proxy_with_http_info(self, name, **kwargs): """ - connect HEAD requests to proxy of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2535,12 +2387,9 @@ def connect_head_node_proxy_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2550,25 +2399,23 @@ def connect_head_node_proxy_with_http_info(self, name, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'HEAD', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_head_node_proxy_with_path(self, name, path, **kwargs): """ - connect HEAD requests to proxy of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2595,9 +2442,7 @@ def connect_head_node_proxy_with_path(self, name, path, **kwargs): def connect_head_node_proxy_with_path_with_http_info(self, name, path, **kwargs): """ - connect HEAD requests to proxy of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2658,12 +2503,9 @@ def connect_head_node_proxy_with_path_with_http_info(self, name, path, **kwargs) local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2673,25 +2515,23 @@ def connect_head_node_proxy_with_path_with_http_info(self, name, path, **kwargs) auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'HEAD', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_options_namespaced_pod_proxy(self, name, namespace, **kwargs): """ - connect OPTIONS requests to proxy of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2718,9 +2558,7 @@ def connect_options_namespaced_pod_proxy(self, name, namespace, **kwargs): def connect_options_namespaced_pod_proxy_with_http_info(self, name, namespace, **kwargs): """ - connect OPTIONS requests to proxy of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2781,12 +2619,9 @@ def connect_options_namespaced_pod_proxy_with_http_info(self, name, namespace, * local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2796,25 +2631,23 @@ def connect_options_namespaced_pod_proxy_with_http_info(self, name, namespace, * auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'OPTIONS', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_options_namespaced_pod_proxy_with_path(self, name, namespace, path, **kwargs): """ - connect OPTIONS requests to proxy of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2842,9 +2675,7 @@ def connect_options_namespaced_pod_proxy_with_path(self, name, namespace, path, def connect_options_namespaced_pod_proxy_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - connect OPTIONS requests to proxy of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2911,12 +2742,9 @@ def connect_options_namespaced_pod_proxy_with_path_with_http_info(self, name, na local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2926,25 +2754,23 @@ def connect_options_namespaced_pod_proxy_with_path_with_http_info(self, name, na auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'OPTIONS', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_options_namespaced_service_proxy(self, name, namespace, **kwargs): """ - connect OPTIONS requests to proxy of Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2971,9 +2797,7 @@ def connect_options_namespaced_service_proxy(self, name, namespace, **kwargs): def connect_options_namespaced_service_proxy_with_http_info(self, name, namespace, **kwargs): """ - connect OPTIONS requests to proxy of Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3034,12 +2858,9 @@ def connect_options_namespaced_service_proxy_with_http_info(self, name, namespac local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3049,25 +2870,23 @@ def connect_options_namespaced_service_proxy_with_http_info(self, name, namespac auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'OPTIONS', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_options_namespaced_service_proxy_with_path(self, name, namespace, path, **kwargs): """ - connect OPTIONS requests to proxy of Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3095,9 +2914,7 @@ def connect_options_namespaced_service_proxy_with_path(self, name, namespace, pa def connect_options_namespaced_service_proxy_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - connect OPTIONS requests to proxy of Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3164,12 +2981,9 @@ def connect_options_namespaced_service_proxy_with_path_with_http_info(self, name local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3179,25 +2993,23 @@ def connect_options_namespaced_service_proxy_with_path_with_http_info(self, name auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'OPTIONS', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_options_node_proxy(self, name, **kwargs): """ - connect OPTIONS requests to proxy of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3223,9 +3035,7 @@ def connect_options_node_proxy(self, name, **kwargs): def connect_options_node_proxy_with_http_info(self, name, **kwargs): """ - connect OPTIONS requests to proxy of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3280,12 +3090,9 @@ def connect_options_node_proxy_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3295,25 +3102,23 @@ def connect_options_node_proxy_with_http_info(self, name, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'OPTIONS', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_options_node_proxy_with_path(self, name, path, **kwargs): """ - connect OPTIONS requests to proxy of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3340,9 +3145,7 @@ def connect_options_node_proxy_with_path(self, name, path, **kwargs): def connect_options_node_proxy_with_path_with_http_info(self, name, path, **kwargs): """ - connect OPTIONS requests to proxy of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3403,12 +3206,9 @@ def connect_options_node_proxy_with_path_with_http_info(self, name, path, **kwar local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3418,25 +3218,23 @@ def connect_options_node_proxy_with_path_with_http_info(self, name, path, **kwar auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'OPTIONS', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_post_namespaced_pod_attach(self, name, namespace, **kwargs): """ - connect POST requests to attach of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3467,9 +3265,7 @@ def connect_post_namespaced_pod_attach(self, name, namespace, **kwargs): def connect_post_namespaced_pod_attach_with_http_info(self, name, namespace, **kwargs): """ - connect POST requests to attach of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3542,12 +3338,9 @@ def connect_post_namespaced_pod_attach_with_http_info(self, name, namespace, **k local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3557,25 +3350,23 @@ def connect_post_namespaced_pod_attach_with_http_info(self, name, namespace, **k auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_post_namespaced_pod_exec(self, name, namespace, **kwargs): """ - connect POST requests to exec of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3607,9 +3398,7 @@ def connect_post_namespaced_pod_exec(self, name, namespace, **kwargs): def connect_post_namespaced_pod_exec_with_http_info(self, name, namespace, **kwargs): """ - connect POST requests to exec of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3685,12 +3474,9 @@ def connect_post_namespaced_pod_exec_with_http_info(self, name, namespace, **kwa local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3700,25 +3486,23 @@ def connect_post_namespaced_pod_exec_with_http_info(self, name, namespace, **kwa auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_post_namespaced_pod_portforward(self, name, namespace, **kwargs): """ - connect POST requests to portforward of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3744,9 +3528,7 @@ def connect_post_namespaced_pod_portforward(self, name, namespace, **kwargs): def connect_post_namespaced_pod_portforward_with_http_info(self, name, namespace, **kwargs): """ - connect POST requests to portforward of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3804,12 +3586,9 @@ def connect_post_namespaced_pod_portforward_with_http_info(self, name, namespace local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3819,25 +3598,23 @@ def connect_post_namespaced_pod_portforward_with_http_info(self, name, namespace auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_post_namespaced_pod_proxy(self, name, namespace, **kwargs): """ - connect POST requests to proxy of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3864,9 +3641,7 @@ def connect_post_namespaced_pod_proxy(self, name, namespace, **kwargs): def connect_post_namespaced_pod_proxy_with_http_info(self, name, namespace, **kwargs): """ - connect POST requests to proxy of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3927,12 +3702,9 @@ def connect_post_namespaced_pod_proxy_with_http_info(self, name, namespace, **kw local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3942,25 +3714,23 @@ def connect_post_namespaced_pod_proxy_with_http_info(self, name, namespace, **kw auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_post_namespaced_pod_proxy_with_path(self, name, namespace, path, **kwargs): """ - connect POST requests to proxy of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3988,9 +3758,7 @@ def connect_post_namespaced_pod_proxy_with_path(self, name, namespace, path, **k def connect_post_namespaced_pod_proxy_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - connect POST requests to proxy of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4057,12 +3825,9 @@ def connect_post_namespaced_pod_proxy_with_path_with_http_info(self, name, names local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -4072,25 +3837,23 @@ def connect_post_namespaced_pod_proxy_with_path_with_http_info(self, name, names auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_post_namespaced_service_proxy(self, name, namespace, **kwargs): """ - connect POST requests to proxy of Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4117,9 +3880,7 @@ def connect_post_namespaced_service_proxy(self, name, namespace, **kwargs): def connect_post_namespaced_service_proxy_with_http_info(self, name, namespace, **kwargs): """ - connect POST requests to proxy of Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4180,12 +3941,9 @@ def connect_post_namespaced_service_proxy_with_http_info(self, name, namespace, local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -4195,25 +3953,23 @@ def connect_post_namespaced_service_proxy_with_http_info(self, name, namespace, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_post_namespaced_service_proxy_with_path(self, name, namespace, path, **kwargs): """ - connect POST requests to proxy of Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4241,9 +3997,7 @@ def connect_post_namespaced_service_proxy_with_path(self, name, namespace, path, def connect_post_namespaced_service_proxy_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - connect POST requests to proxy of Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4310,12 +4064,9 @@ def connect_post_namespaced_service_proxy_with_path_with_http_info(self, name, n local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -4325,25 +4076,23 @@ def connect_post_namespaced_service_proxy_with_path_with_http_info(self, name, n auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_post_node_proxy(self, name, **kwargs): """ - connect POST requests to proxy of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4369,9 +4118,7 @@ def connect_post_node_proxy(self, name, **kwargs): def connect_post_node_proxy_with_http_info(self, name, **kwargs): """ - connect POST requests to proxy of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4426,12 +4173,9 @@ def connect_post_node_proxy_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -4441,25 +4185,23 @@ def connect_post_node_proxy_with_http_info(self, name, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_post_node_proxy_with_path(self, name, path, **kwargs): """ - connect POST requests to proxy of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4486,9 +4228,7 @@ def connect_post_node_proxy_with_path(self, name, path, **kwargs): def connect_post_node_proxy_with_path_with_http_info(self, name, path, **kwargs): """ - connect POST requests to proxy of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4549,12 +4289,9 @@ def connect_post_node_proxy_with_path_with_http_info(self, name, path, **kwargs) local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -4564,25 +4301,23 @@ def connect_post_node_proxy_with_path_with_http_info(self, name, path, **kwargs) auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_put_namespaced_pod_proxy(self, name, namespace, **kwargs): """ - connect PUT requests to proxy of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4609,9 +4344,7 @@ def connect_put_namespaced_pod_proxy(self, name, namespace, **kwargs): def connect_put_namespaced_pod_proxy_with_http_info(self, name, namespace, **kwargs): """ - connect PUT requests to proxy of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4672,12 +4405,9 @@ def connect_put_namespaced_pod_proxy_with_http_info(self, name, namespace, **kwa local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -4687,25 +4417,23 @@ def connect_put_namespaced_pod_proxy_with_http_info(self, name, namespace, **kwa auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_put_namespaced_pod_proxy_with_path(self, name, namespace, path, **kwargs): """ - connect PUT requests to proxy of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4733,9 +4461,7 @@ def connect_put_namespaced_pod_proxy_with_path(self, name, namespace, path, **kw def connect_put_namespaced_pod_proxy_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - connect PUT requests to proxy of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4802,12 +4528,9 @@ def connect_put_namespaced_pod_proxy_with_path_with_http_info(self, name, namesp local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -4817,25 +4540,23 @@ def connect_put_namespaced_pod_proxy_with_path_with_http_info(self, name, namesp auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_put_namespaced_service_proxy(self, name, namespace, **kwargs): """ - connect PUT requests to proxy of Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4862,9 +4583,7 @@ def connect_put_namespaced_service_proxy(self, name, namespace, **kwargs): def connect_put_namespaced_service_proxy_with_http_info(self, name, namespace, **kwargs): """ - connect PUT requests to proxy of Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4925,12 +4644,9 @@ def connect_put_namespaced_service_proxy_with_http_info(self, name, namespace, * local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -4940,25 +4656,23 @@ def connect_put_namespaced_service_proxy_with_http_info(self, name, namespace, * auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_put_namespaced_service_proxy_with_path(self, name, namespace, path, **kwargs): """ - connect PUT requests to proxy of Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4986,9 +4700,7 @@ def connect_put_namespaced_service_proxy_with_path(self, name, namespace, path, def connect_put_namespaced_service_proxy_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - connect PUT requests to proxy of Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5055,12 +4767,9 @@ def connect_put_namespaced_service_proxy_with_path_with_http_info(self, name, na local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -5070,25 +4779,23 @@ def connect_put_namespaced_service_proxy_with_path_with_http_info(self, name, na auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_put_node_proxy(self, name, **kwargs): """ - connect PUT requests to proxy of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5114,9 +4821,7 @@ def connect_put_node_proxy(self, name, **kwargs): def connect_put_node_proxy_with_http_info(self, name, **kwargs): """ - connect PUT requests to proxy of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5171,12 +4876,9 @@ def connect_put_node_proxy_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -5186,25 +4888,23 @@ def connect_put_node_proxy_with_http_info(self, name, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def connect_put_node_proxy_with_path(self, name, path, **kwargs): """ - connect PUT requests to proxy of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5231,9 +4931,7 @@ def connect_put_node_proxy_with_path(self, name, path, **kwargs): def connect_put_node_proxy_with_path_with_http_info(self, name, path, **kwargs): """ - connect PUT requests to proxy of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5294,12 +4992,9 @@ def connect_put_node_proxy_with_path_with_http_info(self, name, path, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -5309,25 +5004,23 @@ def connect_put_node_proxy_with_path_with_http_info(self, name, path, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespace(self, body, **kwargs): """ - create a Namespace - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5338,7 +5031,7 @@ def create_namespace(self, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1Namespace body: (required) + :param V1Namespace body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Namespace If the method is called asynchronously, @@ -5353,9 +5046,7 @@ def create_namespace(self, body, **kwargs): def create_namespace_with_http_info(self, body, **kwargs): """ - create a Namespace - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5366,7 +5057,7 @@ def create_namespace_with_http_info(self, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1Namespace body: (required) + :param V1Namespace body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Namespace If the method is called asynchronously, @@ -5410,12 +5101,9 @@ def create_namespace_with_http_info(self, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -5425,25 +5113,23 @@ def create_namespace_with_http_info(self, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Namespace', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Namespace', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_binding(self, body, namespace, **kwargs): """ - create a Binding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5454,7 +5140,7 @@ def create_namespaced_binding(self, body, namespace, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1Binding body: (required) + :param V1Binding body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Binding @@ -5470,9 +5156,7 @@ def create_namespaced_binding(self, body, namespace, **kwargs): def create_namespaced_binding_with_http_info(self, body, namespace, **kwargs): """ - create a Binding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5483,7 +5167,7 @@ def create_namespaced_binding_with_http_info(self, body, namespace, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1Binding body: (required) + :param V1Binding body: (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Binding @@ -5533,12 +5217,9 @@ def create_namespaced_binding_with_http_info(self, body, namespace, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -5548,25 +5229,23 @@ def create_namespaced_binding_with_http_info(self, body, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Binding', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Binding', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_binding_binding(self, body, name, namespace, **kwargs): """ - create binding of a Binding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5577,7 +5256,7 @@ def create_namespaced_binding_binding(self, body, name, namespace, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1Binding body: (required) + :param V1Binding body: (required) :param str name: name of the Binding (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. @@ -5594,9 +5273,7 @@ def create_namespaced_binding_binding(self, body, name, namespace, **kwargs): def create_namespaced_binding_binding_with_http_info(self, body, name, namespace, **kwargs): """ - create binding of a Binding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5607,7 +5284,7 @@ def create_namespaced_binding_binding_with_http_info(self, body, name, namespace :param callback function: The callback function for asynchronous request. (optional) - :param V1Binding body: (required) + :param V1Binding body: (required) :param str name: name of the Binding (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. @@ -5663,12 +5340,9 @@ def create_namespaced_binding_binding_with_http_info(self, body, name, namespace body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -5678,25 +5352,23 @@ def create_namespaced_binding_binding_with_http_info(self, body, name, namespace auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Binding', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Binding', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_config_map(self, namespace, body, **kwargs): """ - create a ConfigMap - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5708,7 +5380,7 @@ def create_namespaced_config_map(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1ConfigMap body: (required) + :param V1ConfigMap body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ConfigMap If the method is called asynchronously, @@ -5723,9 +5395,7 @@ def create_namespaced_config_map(self, namespace, body, **kwargs): def create_namespaced_config_map_with_http_info(self, namespace, body, **kwargs): """ - create a ConfigMap - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5737,7 +5407,7 @@ def create_namespaced_config_map_with_http_info(self, namespace, body, **kwargs) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1ConfigMap body: (required) + :param V1ConfigMap body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ConfigMap If the method is called asynchronously, @@ -5786,12 +5456,9 @@ def create_namespaced_config_map_with_http_info(self, namespace, body, **kwargs) body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -5801,25 +5468,23 @@ def create_namespaced_config_map_with_http_info(self, namespace, body, **kwargs) auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ConfigMap', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ConfigMap', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_endpoints(self, namespace, body, **kwargs): """ - create Endpoints - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5831,7 +5496,7 @@ def create_namespaced_endpoints(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Endpoints body: (required) + :param V1Endpoints body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Endpoints If the method is called asynchronously, @@ -5846,9 +5511,7 @@ def create_namespaced_endpoints(self, namespace, body, **kwargs): def create_namespaced_endpoints_with_http_info(self, namespace, body, **kwargs): """ - create Endpoints - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5860,7 +5523,7 @@ def create_namespaced_endpoints_with_http_info(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Endpoints body: (required) + :param V1Endpoints body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Endpoints If the method is called asynchronously, @@ -5909,12 +5572,9 @@ def create_namespaced_endpoints_with_http_info(self, namespace, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -5924,25 +5584,23 @@ def create_namespaced_endpoints_with_http_info(self, namespace, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Endpoints', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Endpoints', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_event(self, namespace, body, **kwargs): """ - create an Event - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5954,7 +5612,7 @@ def create_namespaced_event(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Event body: (required) + :param V1Event body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Event If the method is called asynchronously, @@ -5969,9 +5627,7 @@ def create_namespaced_event(self, namespace, body, **kwargs): def create_namespaced_event_with_http_info(self, namespace, body, **kwargs): """ - create an Event - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5983,7 +5639,7 @@ def create_namespaced_event_with_http_info(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Event body: (required) + :param V1Event body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Event If the method is called asynchronously, @@ -6032,12 +5688,9 @@ def create_namespaced_event_with_http_info(self, namespace, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -6047,25 +5700,23 @@ def create_namespaced_event_with_http_info(self, namespace, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Event', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Event', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_eviction_eviction(self, body, name, namespace, **kwargs): """ - create eviction of an Eviction - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6076,7 +5727,7 @@ def create_namespaced_eviction_eviction(self, body, name, namespace, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1beta1Eviction body: (required) + :param V1beta1Eviction body: (required) :param str name: name of the Eviction (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. @@ -6093,9 +5744,7 @@ def create_namespaced_eviction_eviction(self, body, name, namespace, **kwargs): def create_namespaced_eviction_eviction_with_http_info(self, body, name, namespace, **kwargs): """ - create eviction of an Eviction - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6106,7 +5755,7 @@ def create_namespaced_eviction_eviction_with_http_info(self, body, name, namespa :param callback function: The callback function for asynchronous request. (optional) - :param V1beta1Eviction body: (required) + :param V1beta1Eviction body: (required) :param str name: name of the Eviction (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. @@ -6162,12 +5811,9 @@ def create_namespaced_eviction_eviction_with_http_info(self, body, name, namespa body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -6177,25 +5823,23 @@ def create_namespaced_eviction_eviction_with_http_info(self, body, name, namespa auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Eviction', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Eviction', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_limit_range(self, namespace, body, **kwargs): """ - create a LimitRange - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6207,7 +5851,7 @@ def create_namespaced_limit_range(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1LimitRange body: (required) + :param V1LimitRange body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1LimitRange If the method is called asynchronously, @@ -6222,9 +5866,7 @@ def create_namespaced_limit_range(self, namespace, body, **kwargs): def create_namespaced_limit_range_with_http_info(self, namespace, body, **kwargs): """ - create a LimitRange - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6236,7 +5878,7 @@ def create_namespaced_limit_range_with_http_info(self, namespace, body, **kwargs :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1LimitRange body: (required) + :param V1LimitRange body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1LimitRange If the method is called asynchronously, @@ -6285,12 +5927,9 @@ def create_namespaced_limit_range_with_http_info(self, namespace, body, **kwargs body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -6300,25 +5939,23 @@ def create_namespaced_limit_range_with_http_info(self, namespace, body, **kwargs auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1LimitRange', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1LimitRange', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_persistent_volume_claim(self, namespace, body, **kwargs): """ - create a PersistentVolumeClaim - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6330,7 +5967,7 @@ def create_namespaced_persistent_volume_claim(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1PersistentVolumeClaim body: (required) + :param V1PersistentVolumeClaim body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PersistentVolumeClaim If the method is called asynchronously, @@ -6345,9 +5982,7 @@ def create_namespaced_persistent_volume_claim(self, namespace, body, **kwargs): def create_namespaced_persistent_volume_claim_with_http_info(self, namespace, body, **kwargs): """ - create a PersistentVolumeClaim - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6359,7 +5994,7 @@ def create_namespaced_persistent_volume_claim_with_http_info(self, namespace, bo :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1PersistentVolumeClaim body: (required) + :param V1PersistentVolumeClaim body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PersistentVolumeClaim If the method is called asynchronously, @@ -6408,12 +6043,9 @@ def create_namespaced_persistent_volume_claim_with_http_info(self, namespace, bo body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -6423,25 +6055,23 @@ def create_namespaced_persistent_volume_claim_with_http_info(self, namespace, bo auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PersistentVolumeClaim', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1PersistentVolumeClaim', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_pod(self, namespace, body, **kwargs): """ - create a Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6453,7 +6083,7 @@ def create_namespaced_pod(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Pod body: (required) + :param V1Pod body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Pod If the method is called asynchronously, @@ -6468,9 +6098,7 @@ def create_namespaced_pod(self, namespace, body, **kwargs): def create_namespaced_pod_with_http_info(self, namespace, body, **kwargs): """ - create a Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6482,7 +6110,7 @@ def create_namespaced_pod_with_http_info(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Pod body: (required) + :param V1Pod body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Pod If the method is called asynchronously, @@ -6531,12 +6159,9 @@ def create_namespaced_pod_with_http_info(self, namespace, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -6546,25 +6171,23 @@ def create_namespaced_pod_with_http_info(self, namespace, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Pod', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Pod', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_pod_template(self, namespace, body, **kwargs): """ - create a PodTemplate - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6576,7 +6199,7 @@ def create_namespaced_pod_template(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1PodTemplate body: (required) + :param V1PodTemplate body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PodTemplate If the method is called asynchronously, @@ -6591,9 +6214,7 @@ def create_namespaced_pod_template(self, namespace, body, **kwargs): def create_namespaced_pod_template_with_http_info(self, namespace, body, **kwargs): """ - create a PodTemplate - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6605,7 +6226,7 @@ def create_namespaced_pod_template_with_http_info(self, namespace, body, **kwarg :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1PodTemplate body: (required) + :param V1PodTemplate body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PodTemplate If the method is called asynchronously, @@ -6654,12 +6275,9 @@ def create_namespaced_pod_template_with_http_info(self, namespace, body, **kwarg body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -6669,25 +6287,23 @@ def create_namespaced_pod_template_with_http_info(self, namespace, body, **kwarg auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PodTemplate', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1PodTemplate', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_replication_controller(self, namespace, body, **kwargs): """ - create a ReplicationController - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6699,7 +6315,7 @@ def create_namespaced_replication_controller(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1ReplicationController body: (required) + :param V1ReplicationController body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ReplicationController If the method is called asynchronously, @@ -6714,9 +6330,7 @@ def create_namespaced_replication_controller(self, namespace, body, **kwargs): def create_namespaced_replication_controller_with_http_info(self, namespace, body, **kwargs): """ - create a ReplicationController - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6728,7 +6342,7 @@ def create_namespaced_replication_controller_with_http_info(self, namespace, bod :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1ReplicationController body: (required) + :param V1ReplicationController body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ReplicationController If the method is called asynchronously, @@ -6777,12 +6391,9 @@ def create_namespaced_replication_controller_with_http_info(self, namespace, bod body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -6792,25 +6403,23 @@ def create_namespaced_replication_controller_with_http_info(self, namespace, bod auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ReplicationController', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ReplicationController', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_resource_quota(self, namespace, body, **kwargs): """ - create a ResourceQuota - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6822,7 +6431,7 @@ def create_namespaced_resource_quota(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1ResourceQuota body: (required) + :param V1ResourceQuota body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ResourceQuota If the method is called asynchronously, @@ -6837,9 +6446,7 @@ def create_namespaced_resource_quota(self, namespace, body, **kwargs): def create_namespaced_resource_quota_with_http_info(self, namespace, body, **kwargs): """ - create a ResourceQuota - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6851,7 +6458,7 @@ def create_namespaced_resource_quota_with_http_info(self, namespace, body, **kwa :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1ResourceQuota body: (required) + :param V1ResourceQuota body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ResourceQuota If the method is called asynchronously, @@ -6900,12 +6507,9 @@ def create_namespaced_resource_quota_with_http_info(self, namespace, body, **kwa body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -6915,25 +6519,23 @@ def create_namespaced_resource_quota_with_http_info(self, namespace, body, **kwa auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ResourceQuota', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ResourceQuota', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_secret(self, namespace, body, **kwargs): """ - create a Secret - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6945,7 +6547,7 @@ def create_namespaced_secret(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Secret body: (required) + :param V1Secret body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Secret If the method is called asynchronously, @@ -6960,9 +6562,7 @@ def create_namespaced_secret(self, namespace, body, **kwargs): def create_namespaced_secret_with_http_info(self, namespace, body, **kwargs): """ - create a Secret - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6974,7 +6574,7 @@ def create_namespaced_secret_with_http_info(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Secret body: (required) + :param V1Secret body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Secret If the method is called asynchronously, @@ -7023,12 +6623,9 @@ def create_namespaced_secret_with_http_info(self, namespace, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -7038,25 +6635,23 @@ def create_namespaced_secret_with_http_info(self, namespace, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Secret', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Secret', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_service(self, namespace, body, **kwargs): """ - create a Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7068,7 +6663,7 @@ def create_namespaced_service(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Service body: (required) + :param V1Service body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Service If the method is called asynchronously, @@ -7083,9 +6678,7 @@ def create_namespaced_service(self, namespace, body, **kwargs): def create_namespaced_service_with_http_info(self, namespace, body, **kwargs): """ - create a Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7097,7 +6690,7 @@ def create_namespaced_service_with_http_info(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Service body: (required) + :param V1Service body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Service If the method is called asynchronously, @@ -7146,12 +6739,9 @@ def create_namespaced_service_with_http_info(self, namespace, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -7161,25 +6751,23 @@ def create_namespaced_service_with_http_info(self, namespace, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Service', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Service', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_service_account(self, namespace, body, **kwargs): """ - create a ServiceAccount - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7191,7 +6779,7 @@ def create_namespaced_service_account(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1ServiceAccount body: (required) + :param V1ServiceAccount body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ServiceAccount If the method is called asynchronously, @@ -7206,9 +6794,7 @@ def create_namespaced_service_account(self, namespace, body, **kwargs): def create_namespaced_service_account_with_http_info(self, namespace, body, **kwargs): """ - create a ServiceAccount - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7220,7 +6806,7 @@ def create_namespaced_service_account_with_http_info(self, namespace, body, **kw :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1ServiceAccount body: (required) + :param V1ServiceAccount body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ServiceAccount If the method is called asynchronously, @@ -7269,12 +6855,9 @@ def create_namespaced_service_account_with_http_info(self, namespace, body, **kw body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -7284,25 +6867,23 @@ def create_namespaced_service_account_with_http_info(self, namespace, body, **kw auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ServiceAccount', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ServiceAccount', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_node(self, body, **kwargs): """ - create a Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7313,7 +6894,7 @@ def create_node(self, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1Node body: (required) + :param V1Node body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Node If the method is called asynchronously, @@ -7328,9 +6909,7 @@ def create_node(self, body, **kwargs): def create_node_with_http_info(self, body, **kwargs): """ - create a Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7341,7 +6920,7 @@ def create_node_with_http_info(self, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1Node body: (required) + :param V1Node body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Node If the method is called asynchronously, @@ -7385,12 +6964,9 @@ def create_node_with_http_info(self, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -7400,25 +6976,23 @@ def create_node_with_http_info(self, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Node', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Node', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_persistent_volume(self, body, **kwargs): """ - create a PersistentVolume - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7429,7 +7003,7 @@ def create_persistent_volume(self, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1PersistentVolume body: (required) + :param V1PersistentVolume body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PersistentVolume If the method is called asynchronously, @@ -7444,9 +7018,7 @@ def create_persistent_volume(self, body, **kwargs): def create_persistent_volume_with_http_info(self, body, **kwargs): """ - create a PersistentVolume - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7457,7 +7029,7 @@ def create_persistent_volume_with_http_info(self, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1PersistentVolume body: (required) + :param V1PersistentVolume body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PersistentVolume If the method is called asynchronously, @@ -7501,12 +7073,9 @@ def create_persistent_volume_with_http_info(self, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -7516,25 +7085,23 @@ def create_persistent_volume_with_http_info(self, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PersistentVolume', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1PersistentVolume', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespace(self, **kwargs): """ - delete collection of Namespace - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7564,9 +7131,7 @@ def delete_collection_namespace(self, **kwargs): def delete_collection_namespace_with_http_info(self, **kwargs): """ - delete collection of Namespace - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7630,12 +7195,9 @@ def delete_collection_namespace_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -7645,25 +7207,23 @@ def delete_collection_namespace_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_config_map(self, namespace, **kwargs): """ - delete collection of ConfigMap - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7694,9 +7254,7 @@ def delete_collection_namespaced_config_map(self, namespace, **kwargs): def delete_collection_namespaced_config_map_with_http_info(self, namespace, **kwargs): """ - delete collection of ConfigMap - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7766,12 +7324,9 @@ def delete_collection_namespaced_config_map_with_http_info(self, namespace, **kw local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -7781,25 +7336,23 @@ def delete_collection_namespaced_config_map_with_http_info(self, namespace, **kw auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_endpoints(self, namespace, **kwargs): """ - delete collection of Endpoints - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7830,9 +7383,7 @@ def delete_collection_namespaced_endpoints(self, namespace, **kwargs): def delete_collection_namespaced_endpoints_with_http_info(self, namespace, **kwargs): """ - delete collection of Endpoints - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7902,12 +7453,9 @@ def delete_collection_namespaced_endpoints_with_http_info(self, namespace, **kwa local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -7917,25 +7465,23 @@ def delete_collection_namespaced_endpoints_with_http_info(self, namespace, **kwa auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_event(self, namespace, **kwargs): """ - delete collection of Event - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7966,9 +7512,7 @@ def delete_collection_namespaced_event(self, namespace, **kwargs): def delete_collection_namespaced_event_with_http_info(self, namespace, **kwargs): """ - delete collection of Event - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8038,12 +7582,9 @@ def delete_collection_namespaced_event_with_http_info(self, namespace, **kwargs) local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -8053,25 +7594,23 @@ def delete_collection_namespaced_event_with_http_info(self, namespace, **kwargs) auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_limit_range(self, namespace, **kwargs): """ - delete collection of LimitRange - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8102,9 +7641,7 @@ def delete_collection_namespaced_limit_range(self, namespace, **kwargs): def delete_collection_namespaced_limit_range_with_http_info(self, namespace, **kwargs): """ - delete collection of LimitRange - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8174,12 +7711,9 @@ def delete_collection_namespaced_limit_range_with_http_info(self, namespace, **k local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -8189,25 +7723,23 @@ def delete_collection_namespaced_limit_range_with_http_info(self, namespace, **k auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_persistent_volume_claim(self, namespace, **kwargs): """ - delete collection of PersistentVolumeClaim - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8238,9 +7770,7 @@ def delete_collection_namespaced_persistent_volume_claim(self, namespace, **kwar def delete_collection_namespaced_persistent_volume_claim_with_http_info(self, namespace, **kwargs): """ - delete collection of PersistentVolumeClaim - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8310,12 +7840,9 @@ def delete_collection_namespaced_persistent_volume_claim_with_http_info(self, na local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -8325,25 +7852,23 @@ def delete_collection_namespaced_persistent_volume_claim_with_http_info(self, na auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_pod(self, namespace, **kwargs): """ - delete collection of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8374,9 +7899,7 @@ def delete_collection_namespaced_pod(self, namespace, **kwargs): def delete_collection_namespaced_pod_with_http_info(self, namespace, **kwargs): """ - delete collection of Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8446,12 +7969,9 @@ def delete_collection_namespaced_pod_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -8461,25 +7981,23 @@ def delete_collection_namespaced_pod_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_pod_template(self, namespace, **kwargs): """ - delete collection of PodTemplate - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8510,9 +8028,7 @@ def delete_collection_namespaced_pod_template(self, namespace, **kwargs): def delete_collection_namespaced_pod_template_with_http_info(self, namespace, **kwargs): """ - delete collection of PodTemplate - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8582,12 +8098,9 @@ def delete_collection_namespaced_pod_template_with_http_info(self, namespace, ** local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -8597,25 +8110,23 @@ def delete_collection_namespaced_pod_template_with_http_info(self, namespace, ** auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_replication_controller(self, namespace, **kwargs): """ - delete collection of ReplicationController - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8646,9 +8157,7 @@ def delete_collection_namespaced_replication_controller(self, namespace, **kwarg def delete_collection_namespaced_replication_controller_with_http_info(self, namespace, **kwargs): """ - delete collection of ReplicationController - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8718,12 +8227,9 @@ def delete_collection_namespaced_replication_controller_with_http_info(self, nam local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -8733,25 +8239,23 @@ def delete_collection_namespaced_replication_controller_with_http_info(self, nam auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_resource_quota(self, namespace, **kwargs): """ - delete collection of ResourceQuota - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8782,9 +8286,7 @@ def delete_collection_namespaced_resource_quota(self, namespace, **kwargs): def delete_collection_namespaced_resource_quota_with_http_info(self, namespace, **kwargs): """ - delete collection of ResourceQuota - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8854,12 +8356,9 @@ def delete_collection_namespaced_resource_quota_with_http_info(self, namespace, local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -8869,25 +8368,23 @@ def delete_collection_namespaced_resource_quota_with_http_info(self, namespace, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_secret(self, namespace, **kwargs): """ - delete collection of Secret - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8918,9 +8415,7 @@ def delete_collection_namespaced_secret(self, namespace, **kwargs): def delete_collection_namespaced_secret_with_http_info(self, namespace, **kwargs): """ - delete collection of Secret - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8990,12 +8485,9 @@ def delete_collection_namespaced_secret_with_http_info(self, namespace, **kwargs local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -9005,25 +8497,23 @@ def delete_collection_namespaced_secret_with_http_info(self, namespace, **kwargs auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_service_account(self, namespace, **kwargs): """ - delete collection of ServiceAccount - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9054,9 +8544,7 @@ def delete_collection_namespaced_service_account(self, namespace, **kwargs): def delete_collection_namespaced_service_account_with_http_info(self, namespace, **kwargs): """ - delete collection of ServiceAccount - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9126,12 +8614,9 @@ def delete_collection_namespaced_service_account_with_http_info(self, namespace, local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -9141,25 +8626,23 @@ def delete_collection_namespaced_service_account_with_http_info(self, namespace, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_node(self, **kwargs): """ - delete collection of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9189,9 +8672,7 @@ def delete_collection_node(self, **kwargs): def delete_collection_node_with_http_info(self, **kwargs): """ - delete collection of Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9255,12 +8736,9 @@ def delete_collection_node_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -9270,25 +8748,23 @@ def delete_collection_node_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_persistent_volume(self, **kwargs): """ - delete collection of PersistentVolume - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9318,9 +8794,7 @@ def delete_collection_persistent_volume(self, **kwargs): def delete_collection_persistent_volume_with_http_info(self, **kwargs): """ - delete collection of PersistentVolume - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9384,12 +8858,9 @@ def delete_collection_persistent_volume_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -9399,25 +8870,23 @@ def delete_collection_persistent_volume_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespace(self, name, body, **kwargs): """ - delete a Namespace - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9429,7 +8898,7 @@ def delete_namespace(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Namespace (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -9446,9 +8915,7 @@ def delete_namespace(self, name, body, **kwargs): def delete_namespace_with_http_info(self, name, body, **kwargs): """ - delete a Namespace - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9460,7 +8927,7 @@ def delete_namespace_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Namespace (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -9515,12 +8982,9 @@ def delete_namespace_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -9530,25 +8994,23 @@ def delete_namespace_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_config_map(self, name, namespace, body, **kwargs): """ - delete a ConfigMap - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9561,7 +9023,7 @@ def delete_namespaced_config_map(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the ConfigMap (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -9578,9 +9040,7 @@ def delete_namespaced_config_map(self, name, namespace, body, **kwargs): def delete_namespaced_config_map_with_http_info(self, name, namespace, body, **kwargs): """ - delete a ConfigMap - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9593,7 +9053,7 @@ def delete_namespaced_config_map_with_http_info(self, name, namespace, body, **k for asynchronous request. (optional) :param str name: name of the ConfigMap (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -9653,12 +9113,9 @@ def delete_namespaced_config_map_with_http_info(self, name, namespace, body, **k body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -9668,25 +9125,23 @@ def delete_namespaced_config_map_with_http_info(self, name, namespace, body, **k auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_endpoints(self, name, namespace, body, **kwargs): """ - delete Endpoints - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9699,7 +9154,7 @@ def delete_namespaced_endpoints(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Endpoints (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -9716,9 +9171,7 @@ def delete_namespaced_endpoints(self, name, namespace, body, **kwargs): def delete_namespaced_endpoints_with_http_info(self, name, namespace, body, **kwargs): """ - delete Endpoints - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9731,7 +9184,7 @@ def delete_namespaced_endpoints_with_http_info(self, name, namespace, body, **kw for asynchronous request. (optional) :param str name: name of the Endpoints (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -9791,12 +9244,9 @@ def delete_namespaced_endpoints_with_http_info(self, name, namespace, body, **kw body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -9806,25 +9256,23 @@ def delete_namespaced_endpoints_with_http_info(self, name, namespace, body, **kw auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_event(self, name, namespace, body, **kwargs): """ - delete an Event - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9837,7 +9285,7 @@ def delete_namespaced_event(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Event (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -9854,9 +9302,7 @@ def delete_namespaced_event(self, name, namespace, body, **kwargs): def delete_namespaced_event_with_http_info(self, name, namespace, body, **kwargs): """ - delete an Event - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9869,7 +9315,7 @@ def delete_namespaced_event_with_http_info(self, name, namespace, body, **kwargs for asynchronous request. (optional) :param str name: name of the Event (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -9929,12 +9375,9 @@ def delete_namespaced_event_with_http_info(self, name, namespace, body, **kwargs body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -9944,25 +9387,23 @@ def delete_namespaced_event_with_http_info(self, name, namespace, body, **kwargs auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_limit_range(self, name, namespace, body, **kwargs): """ - delete a LimitRange - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9975,7 +9416,7 @@ def delete_namespaced_limit_range(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the LimitRange (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -9992,9 +9433,7 @@ def delete_namespaced_limit_range(self, name, namespace, body, **kwargs): def delete_namespaced_limit_range_with_http_info(self, name, namespace, body, **kwargs): """ - delete a LimitRange - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10007,7 +9446,7 @@ def delete_namespaced_limit_range_with_http_info(self, name, namespace, body, ** for asynchronous request. (optional) :param str name: name of the LimitRange (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -10067,12 +9506,9 @@ def delete_namespaced_limit_range_with_http_info(self, name, namespace, body, ** body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -10082,25 +9518,23 @@ def delete_namespaced_limit_range_with_http_info(self, name, namespace, body, ** auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_persistent_volume_claim(self, name, namespace, body, **kwargs): """ - delete a PersistentVolumeClaim - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10113,7 +9547,7 @@ def delete_namespaced_persistent_volume_claim(self, name, namespace, body, **kwa for asynchronous request. (optional) :param str name: name of the PersistentVolumeClaim (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -10130,9 +9564,7 @@ def delete_namespaced_persistent_volume_claim(self, name, namespace, body, **kwa def delete_namespaced_persistent_volume_claim_with_http_info(self, name, namespace, body, **kwargs): """ - delete a PersistentVolumeClaim - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10145,7 +9577,7 @@ def delete_namespaced_persistent_volume_claim_with_http_info(self, name, namespa for asynchronous request. (optional) :param str name: name of the PersistentVolumeClaim (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -10205,12 +9637,9 @@ def delete_namespaced_persistent_volume_claim_with_http_info(self, name, namespa body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -10220,25 +9649,23 @@ def delete_namespaced_persistent_volume_claim_with_http_info(self, name, namespa auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_pod(self, name, namespace, body, **kwargs): """ - delete a Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10251,7 +9678,7 @@ def delete_namespaced_pod(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Pod (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -10268,9 +9695,7 @@ def delete_namespaced_pod(self, name, namespace, body, **kwargs): def delete_namespaced_pod_with_http_info(self, name, namespace, body, **kwargs): """ - delete a Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10283,7 +9708,7 @@ def delete_namespaced_pod_with_http_info(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Pod (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -10343,12 +9768,9 @@ def delete_namespaced_pod_with_http_info(self, name, namespace, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -10358,25 +9780,23 @@ def delete_namespaced_pod_with_http_info(self, name, namespace, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_pod_template(self, name, namespace, body, **kwargs): """ - delete a PodTemplate - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10389,7 +9809,7 @@ def delete_namespaced_pod_template(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the PodTemplate (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -10406,9 +9826,7 @@ def delete_namespaced_pod_template(self, name, namespace, body, **kwargs): def delete_namespaced_pod_template_with_http_info(self, name, namespace, body, **kwargs): """ - delete a PodTemplate - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10421,7 +9839,7 @@ def delete_namespaced_pod_template_with_http_info(self, name, namespace, body, * for asynchronous request. (optional) :param str name: name of the PodTemplate (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -10481,12 +9899,9 @@ def delete_namespaced_pod_template_with_http_info(self, name, namespace, body, * body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -10496,25 +9911,23 @@ def delete_namespaced_pod_template_with_http_info(self, name, namespace, body, * auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_replication_controller(self, name, namespace, body, **kwargs): """ - delete a ReplicationController - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10527,7 +9940,7 @@ def delete_namespaced_replication_controller(self, name, namespace, body, **kwar for asynchronous request. (optional) :param str name: name of the ReplicationController (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -10544,9 +9957,7 @@ def delete_namespaced_replication_controller(self, name, namespace, body, **kwar def delete_namespaced_replication_controller_with_http_info(self, name, namespace, body, **kwargs): """ - delete a ReplicationController - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10559,7 +9970,7 @@ def delete_namespaced_replication_controller_with_http_info(self, name, namespac for asynchronous request. (optional) :param str name: name of the ReplicationController (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -10619,12 +10030,9 @@ def delete_namespaced_replication_controller_with_http_info(self, name, namespac body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -10634,25 +10042,23 @@ def delete_namespaced_replication_controller_with_http_info(self, name, namespac auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_resource_quota(self, name, namespace, body, **kwargs): """ - delete a ResourceQuota - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10665,7 +10071,7 @@ def delete_namespaced_resource_quota(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the ResourceQuota (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -10682,9 +10088,7 @@ def delete_namespaced_resource_quota(self, name, namespace, body, **kwargs): def delete_namespaced_resource_quota_with_http_info(self, name, namespace, body, **kwargs): """ - delete a ResourceQuota - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10697,7 +10101,7 @@ def delete_namespaced_resource_quota_with_http_info(self, name, namespace, body, for asynchronous request. (optional) :param str name: name of the ResourceQuota (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -10757,12 +10161,9 @@ def delete_namespaced_resource_quota_with_http_info(self, name, namespace, body, body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -10772,25 +10173,23 @@ def delete_namespaced_resource_quota_with_http_info(self, name, namespace, body, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_secret(self, name, namespace, body, **kwargs): """ - delete a Secret - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10803,7 +10202,7 @@ def delete_namespaced_secret(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Secret (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -10820,9 +10219,7 @@ def delete_namespaced_secret(self, name, namespace, body, **kwargs): def delete_namespaced_secret_with_http_info(self, name, namespace, body, **kwargs): """ - delete a Secret - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10835,7 +10232,7 @@ def delete_namespaced_secret_with_http_info(self, name, namespace, body, **kwarg for asynchronous request. (optional) :param str name: name of the Secret (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -10895,12 +10292,9 @@ def delete_namespaced_secret_with_http_info(self, name, namespace, body, **kwarg body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -10910,25 +10304,23 @@ def delete_namespaced_secret_with_http_info(self, name, namespace, body, **kwarg auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_service(self, name, namespace, **kwargs): """ - delete a Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10955,9 +10347,7 @@ def delete_namespaced_service(self, name, namespace, **kwargs): def delete_namespaced_service_with_http_info(self, name, namespace, **kwargs): """ - delete a Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11018,12 +10408,9 @@ def delete_namespaced_service_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -11033,25 +10420,23 @@ def delete_namespaced_service_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_service_account(self, name, namespace, body, **kwargs): """ - delete a ServiceAccount - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11064,7 +10449,7 @@ def delete_namespaced_service_account(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the ServiceAccount (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -11081,9 +10466,7 @@ def delete_namespaced_service_account(self, name, namespace, body, **kwargs): def delete_namespaced_service_account_with_http_info(self, name, namespace, body, **kwargs): """ - delete a ServiceAccount - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11096,7 +10479,7 @@ def delete_namespaced_service_account_with_http_info(self, name, namespace, body for asynchronous request. (optional) :param str name: name of the ServiceAccount (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -11156,12 +10539,9 @@ def delete_namespaced_service_account_with_http_info(self, name, namespace, body body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -11171,25 +10551,23 @@ def delete_namespaced_service_account_with_http_info(self, name, namespace, body auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_node(self, name, body, **kwargs): """ - delete a Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11201,7 +10579,7 @@ def delete_node(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Node (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -11218,9 +10596,7 @@ def delete_node(self, name, body, **kwargs): def delete_node_with_http_info(self, name, body, **kwargs): """ - delete a Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11232,7 +10608,7 @@ def delete_node_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Node (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -11287,12 +10663,9 @@ def delete_node_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -11302,25 +10675,23 @@ def delete_node_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_persistent_volume(self, name, body, **kwargs): """ - delete a PersistentVolume - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11332,7 +10703,7 @@ def delete_persistent_volume(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the PersistentVolume (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -11349,9 +10720,7 @@ def delete_persistent_volume(self, name, body, **kwargs): def delete_persistent_volume_with_http_info(self, name, body, **kwargs): """ - delete a PersistentVolume - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11363,7 +10732,7 @@ def delete_persistent_volume_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the PersistentVolume (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -11418,12 +10787,9 @@ def delete_persistent_volume_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -11433,25 +10799,23 @@ def delete_persistent_volume_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def get_api_resources(self, **kwargs): """ - get available resources - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11475,9 +10839,7 @@ def get_api_resources(self, **kwargs): def get_api_resources_with_http_info(self, **kwargs): """ - get available resources - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11509,7 +10871,6 @@ def get_api_resources_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/api/v1/'.replace('{format}', 'json') @@ -11523,12 +10884,9 @@ def get_api_resources_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -11538,25 +10896,23 @@ def get_api_resources_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedAPIResourceList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedAPIResourceList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_component_status(self, **kwargs): """ - list objects of kind ComponentStatus - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11586,9 +10942,7 @@ def list_component_status(self, **kwargs): def list_component_status_with_http_info(self, **kwargs): """ - list objects of kind ComponentStatus - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11652,12 +11006,9 @@ def list_component_status_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -11667,25 +11018,23 @@ def list_component_status_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ComponentStatusList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ComponentStatusList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_config_map_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind ConfigMap - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11715,9 +11064,7 @@ def list_config_map_for_all_namespaces(self, **kwargs): def list_config_map_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind ConfigMap - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11781,12 +11128,9 @@ def list_config_map_for_all_namespaces_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -11796,25 +11140,23 @@ def list_config_map_for_all_namespaces_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ConfigMapList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ConfigMapList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_endpoints_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind Endpoints - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11844,9 +11186,7 @@ def list_endpoints_for_all_namespaces(self, **kwargs): def list_endpoints_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind Endpoints - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11910,12 +11250,9 @@ def list_endpoints_for_all_namespaces_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -11925,25 +11262,23 @@ def list_endpoints_for_all_namespaces_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1EndpointsList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1EndpointsList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_event_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind Event - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11973,9 +11308,7 @@ def list_event_for_all_namespaces(self, **kwargs): def list_event_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind Event - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -12039,12 +11372,9 @@ def list_event_for_all_namespaces_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -12054,25 +11384,23 @@ def list_event_for_all_namespaces_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1EventList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1EventList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_limit_range_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind LimitRange - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -12102,9 +11430,7 @@ def list_limit_range_for_all_namespaces(self, **kwargs): def list_limit_range_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind LimitRange - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -12168,12 +11494,9 @@ def list_limit_range_for_all_namespaces_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -12183,25 +11506,23 @@ def list_limit_range_for_all_namespaces_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1LimitRangeList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1LimitRangeList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespace(self, **kwargs): """ - list or watch objects of kind Namespace - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -12231,9 +11552,7 @@ def list_namespace(self, **kwargs): def list_namespace_with_http_info(self, **kwargs): """ - list or watch objects of kind Namespace - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -12297,12 +11616,9 @@ def list_namespace_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -12312,25 +11628,23 @@ def list_namespace_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1NamespaceList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1NamespaceList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_config_map(self, namespace, **kwargs): """ - list or watch objects of kind ConfigMap - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -12361,9 +11675,7 @@ def list_namespaced_config_map(self, namespace, **kwargs): def list_namespaced_config_map_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind ConfigMap - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -12433,12 +11745,9 @@ def list_namespaced_config_map_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -12448,25 +11757,23 @@ def list_namespaced_config_map_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ConfigMapList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ConfigMapList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_endpoints(self, namespace, **kwargs): """ - list or watch objects of kind Endpoints - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -12497,9 +11804,7 @@ def list_namespaced_endpoints(self, namespace, **kwargs): def list_namespaced_endpoints_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind Endpoints - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -12569,12 +11874,9 @@ def list_namespaced_endpoints_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -12584,25 +11886,23 @@ def list_namespaced_endpoints_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1EndpointsList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1EndpointsList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_event(self, namespace, **kwargs): """ - list or watch objects of kind Event - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -12633,9 +11933,7 @@ def list_namespaced_event(self, namespace, **kwargs): def list_namespaced_event_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind Event - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -12705,12 +12003,9 @@ def list_namespaced_event_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -12720,25 +12015,23 @@ def list_namespaced_event_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1EventList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1EventList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_limit_range(self, namespace, **kwargs): """ - list or watch objects of kind LimitRange - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -12769,9 +12062,7 @@ def list_namespaced_limit_range(self, namespace, **kwargs): def list_namespaced_limit_range_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind LimitRange - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -12841,12 +12132,9 @@ def list_namespaced_limit_range_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -12856,25 +12144,23 @@ def list_namespaced_limit_range_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1LimitRangeList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1LimitRangeList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_persistent_volume_claim(self, namespace, **kwargs): """ - list or watch objects of kind PersistentVolumeClaim - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -12905,9 +12191,7 @@ def list_namespaced_persistent_volume_claim(self, namespace, **kwargs): def list_namespaced_persistent_volume_claim_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind PersistentVolumeClaim - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -12977,12 +12261,9 @@ def list_namespaced_persistent_volume_claim_with_http_info(self, namespace, **kw local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -12992,25 +12273,23 @@ def list_namespaced_persistent_volume_claim_with_http_info(self, namespace, **kw auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PersistentVolumeClaimList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1PersistentVolumeClaimList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_pod(self, namespace, **kwargs): """ - list or watch objects of kind Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -13041,9 +12320,7 @@ def list_namespaced_pod(self, namespace, **kwargs): def list_namespaced_pod_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -13113,12 +12390,9 @@ def list_namespaced_pod_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -13128,25 +12402,23 @@ def list_namespaced_pod_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PodList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1PodList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_pod_template(self, namespace, **kwargs): """ - list or watch objects of kind PodTemplate - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -13177,9 +12449,7 @@ def list_namespaced_pod_template(self, namespace, **kwargs): def list_namespaced_pod_template_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind PodTemplate - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -13249,12 +12519,9 @@ def list_namespaced_pod_template_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -13264,25 +12531,23 @@ def list_namespaced_pod_template_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PodTemplateList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1PodTemplateList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_replication_controller(self, namespace, **kwargs): """ - list or watch objects of kind ReplicationController - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -13313,9 +12578,7 @@ def list_namespaced_replication_controller(self, namespace, **kwargs): def list_namespaced_replication_controller_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind ReplicationController - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -13385,12 +12648,9 @@ def list_namespaced_replication_controller_with_http_info(self, namespace, **kwa local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -13400,25 +12660,23 @@ def list_namespaced_replication_controller_with_http_info(self, namespace, **kwa auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ReplicationControllerList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ReplicationControllerList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_resource_quota(self, namespace, **kwargs): """ - list or watch objects of kind ResourceQuota - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -13449,9 +12707,7 @@ def list_namespaced_resource_quota(self, namespace, **kwargs): def list_namespaced_resource_quota_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind ResourceQuota - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -13521,12 +12777,9 @@ def list_namespaced_resource_quota_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -13536,25 +12789,23 @@ def list_namespaced_resource_quota_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ResourceQuotaList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ResourceQuotaList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_secret(self, namespace, **kwargs): """ - list or watch objects of kind Secret - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -13585,9 +12836,7 @@ def list_namespaced_secret(self, namespace, **kwargs): def list_namespaced_secret_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind Secret - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -13657,12 +12906,9 @@ def list_namespaced_secret_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -13672,25 +12918,23 @@ def list_namespaced_secret_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1SecretList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1SecretList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_service(self, namespace, **kwargs): """ - list or watch objects of kind Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -13721,9 +12965,7 @@ def list_namespaced_service(self, namespace, **kwargs): def list_namespaced_service_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -13793,12 +13035,9 @@ def list_namespaced_service_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -13808,25 +13047,23 @@ def list_namespaced_service_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ServiceList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ServiceList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_service_account(self, namespace, **kwargs): """ - list or watch objects of kind ServiceAccount - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -13857,9 +13094,7 @@ def list_namespaced_service_account(self, namespace, **kwargs): def list_namespaced_service_account_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind ServiceAccount - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -13929,12 +13164,9 @@ def list_namespaced_service_account_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -13944,25 +13176,23 @@ def list_namespaced_service_account_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ServiceAccountList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ServiceAccountList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_node(self, **kwargs): """ - list or watch objects of kind Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -13992,9 +13222,7 @@ def list_node(self, **kwargs): def list_node_with_http_info(self, **kwargs): """ - list or watch objects of kind Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -14058,12 +13286,9 @@ def list_node_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -14073,25 +13298,23 @@ def list_node_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1NodeList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1NodeList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_persistent_volume(self, **kwargs): """ - list or watch objects of kind PersistentVolume - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -14121,9 +13344,7 @@ def list_persistent_volume(self, **kwargs): def list_persistent_volume_with_http_info(self, **kwargs): """ - list or watch objects of kind PersistentVolume - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -14187,12 +13408,9 @@ def list_persistent_volume_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -14202,25 +13420,23 @@ def list_persistent_volume_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PersistentVolumeList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1PersistentVolumeList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_persistent_volume_claim_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind PersistentVolumeClaim - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -14250,9 +13466,7 @@ def list_persistent_volume_claim_for_all_namespaces(self, **kwargs): def list_persistent_volume_claim_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind PersistentVolumeClaim - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -14316,12 +13530,9 @@ def list_persistent_volume_claim_for_all_namespaces_with_http_info(self, **kwarg local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -14331,25 +13542,23 @@ def list_persistent_volume_claim_for_all_namespaces_with_http_info(self, **kwarg auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PersistentVolumeClaimList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1PersistentVolumeClaimList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_pod_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -14379,9 +13588,7 @@ def list_pod_for_all_namespaces(self, **kwargs): def list_pod_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -14445,12 +13652,9 @@ def list_pod_for_all_namespaces_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -14460,25 +13664,23 @@ def list_pod_for_all_namespaces_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PodList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1PodList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_pod_template_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind PodTemplate - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -14508,9 +13710,7 @@ def list_pod_template_for_all_namespaces(self, **kwargs): def list_pod_template_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind PodTemplate - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -14574,12 +13774,9 @@ def list_pod_template_for_all_namespaces_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -14589,25 +13786,23 @@ def list_pod_template_for_all_namespaces_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PodTemplateList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1PodTemplateList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_replication_controller_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind ReplicationController - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -14637,9 +13832,7 @@ def list_replication_controller_for_all_namespaces(self, **kwargs): def list_replication_controller_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind ReplicationController - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -14703,12 +13896,9 @@ def list_replication_controller_for_all_namespaces_with_http_info(self, **kwargs local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -14718,25 +13908,23 @@ def list_replication_controller_for_all_namespaces_with_http_info(self, **kwargs auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ReplicationControllerList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ReplicationControllerList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_resource_quota_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind ResourceQuota - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -14766,9 +13954,7 @@ def list_resource_quota_for_all_namespaces(self, **kwargs): def list_resource_quota_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind ResourceQuota - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -14832,12 +14018,9 @@ def list_resource_quota_for_all_namespaces_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -14847,25 +14030,23 @@ def list_resource_quota_for_all_namespaces_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ResourceQuotaList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ResourceQuotaList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_secret_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind Secret - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -14895,9 +14076,7 @@ def list_secret_for_all_namespaces(self, **kwargs): def list_secret_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind Secret - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -14961,12 +14140,9 @@ def list_secret_for_all_namespaces_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -14976,25 +14152,23 @@ def list_secret_for_all_namespaces_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1SecretList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1SecretList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_service_account_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind ServiceAccount - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -15024,9 +14198,7 @@ def list_service_account_for_all_namespaces(self, **kwargs): def list_service_account_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind ServiceAccount - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -15090,12 +14262,9 @@ def list_service_account_for_all_namespaces_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -15105,25 +14274,23 @@ def list_service_account_for_all_namespaces_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ServiceAccountList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ServiceAccountList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_service_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -15153,9 +14320,7 @@ def list_service_for_all_namespaces(self, **kwargs): def list_service_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -15219,12 +14384,9 @@ def list_service_for_all_namespaces_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -15234,25 +14396,23 @@ def list_service_for_all_namespaces_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ServiceList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ServiceList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespace(self, name, body, **kwargs): """ - partially update the specified Namespace - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -15264,7 +14424,7 @@ def patch_namespace(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Namespace (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Namespace If the method is called asynchronously, @@ -15279,9 +14439,7 @@ def patch_namespace(self, name, body, **kwargs): def patch_namespace_with_http_info(self, name, body, **kwargs): """ - partially update the specified Namespace - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -15293,7 +14451,7 @@ def patch_namespace_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Namespace (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Namespace If the method is called asynchronously, @@ -15342,12 +14500,9 @@ def patch_namespace_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -15357,25 +14512,23 @@ def patch_namespace_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Namespace', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Namespace', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespace_status(self, name, body, **kwargs): """ - partially update status of the specified Namespace - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -15387,7 +14540,7 @@ def patch_namespace_status(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Namespace (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Namespace If the method is called asynchronously, @@ -15402,9 +14555,7 @@ def patch_namespace_status(self, name, body, **kwargs): def patch_namespace_status_with_http_info(self, name, body, **kwargs): """ - partially update status of the specified Namespace - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -15416,7 +14567,7 @@ def patch_namespace_status_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Namespace (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Namespace If the method is called asynchronously, @@ -15465,12 +14616,9 @@ def patch_namespace_status_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -15480,25 +14628,23 @@ def patch_namespace_status_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Namespace', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Namespace', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_config_map(self, name, namespace, body, **kwargs): """ - partially update the specified ConfigMap - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -15511,7 +14657,7 @@ def patch_namespaced_config_map(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the ConfigMap (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ConfigMap If the method is called asynchronously, @@ -15526,9 +14672,7 @@ def patch_namespaced_config_map(self, name, namespace, body, **kwargs): def patch_namespaced_config_map_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified ConfigMap - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -15541,7 +14685,7 @@ def patch_namespaced_config_map_with_http_info(self, name, namespace, body, **kw for asynchronous request. (optional) :param str name: name of the ConfigMap (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ConfigMap If the method is called asynchronously, @@ -15595,12 +14739,9 @@ def patch_namespaced_config_map_with_http_info(self, name, namespace, body, **kw body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -15610,25 +14751,23 @@ def patch_namespaced_config_map_with_http_info(self, name, namespace, body, **kw auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ConfigMap', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ConfigMap', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_endpoints(self, name, namespace, body, **kwargs): """ - partially update the specified Endpoints - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -15641,7 +14780,7 @@ def patch_namespaced_endpoints(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Endpoints (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Endpoints If the method is called asynchronously, @@ -15656,9 +14795,7 @@ def patch_namespaced_endpoints(self, name, namespace, body, **kwargs): def patch_namespaced_endpoints_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified Endpoints - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -15671,7 +14808,7 @@ def patch_namespaced_endpoints_with_http_info(self, name, namespace, body, **kwa for asynchronous request. (optional) :param str name: name of the Endpoints (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Endpoints If the method is called asynchronously, @@ -15725,12 +14862,9 @@ def patch_namespaced_endpoints_with_http_info(self, name, namespace, body, **kwa body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -15740,25 +14874,23 @@ def patch_namespaced_endpoints_with_http_info(self, name, namespace, body, **kwa auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Endpoints', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Endpoints', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_event(self, name, namespace, body, **kwargs): """ - partially update the specified Event - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -15771,7 +14903,7 @@ def patch_namespaced_event(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Event (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Event If the method is called asynchronously, @@ -15786,9 +14918,7 @@ def patch_namespaced_event(self, name, namespace, body, **kwargs): def patch_namespaced_event_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified Event - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -15801,7 +14931,7 @@ def patch_namespaced_event_with_http_info(self, name, namespace, body, **kwargs) for asynchronous request. (optional) :param str name: name of the Event (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Event If the method is called asynchronously, @@ -15855,12 +14985,9 @@ def patch_namespaced_event_with_http_info(self, name, namespace, body, **kwargs) body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -15870,25 +14997,23 @@ def patch_namespaced_event_with_http_info(self, name, namespace, body, **kwargs) auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Event', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Event', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_limit_range(self, name, namespace, body, **kwargs): """ - partially update the specified LimitRange - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -15901,7 +15026,7 @@ def patch_namespaced_limit_range(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the LimitRange (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1LimitRange If the method is called asynchronously, @@ -15916,9 +15041,7 @@ def patch_namespaced_limit_range(self, name, namespace, body, **kwargs): def patch_namespaced_limit_range_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified LimitRange - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -15931,7 +15054,7 @@ def patch_namespaced_limit_range_with_http_info(self, name, namespace, body, **k for asynchronous request. (optional) :param str name: name of the LimitRange (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1LimitRange If the method is called asynchronously, @@ -15985,12 +15108,9 @@ def patch_namespaced_limit_range_with_http_info(self, name, namespace, body, **k body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -16000,25 +15120,23 @@ def patch_namespaced_limit_range_with_http_info(self, name, namespace, body, **k auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1LimitRange', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1LimitRange', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_persistent_volume_claim(self, name, namespace, body, **kwargs): """ - partially update the specified PersistentVolumeClaim - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -16031,7 +15149,7 @@ def patch_namespaced_persistent_volume_claim(self, name, namespace, body, **kwar for asynchronous request. (optional) :param str name: name of the PersistentVolumeClaim (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PersistentVolumeClaim If the method is called asynchronously, @@ -16046,9 +15164,7 @@ def patch_namespaced_persistent_volume_claim(self, name, namespace, body, **kwar def patch_namespaced_persistent_volume_claim_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified PersistentVolumeClaim - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -16061,7 +15177,7 @@ def patch_namespaced_persistent_volume_claim_with_http_info(self, name, namespac for asynchronous request. (optional) :param str name: name of the PersistentVolumeClaim (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PersistentVolumeClaim If the method is called asynchronously, @@ -16115,12 +15231,9 @@ def patch_namespaced_persistent_volume_claim_with_http_info(self, name, namespac body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -16130,25 +15243,23 @@ def patch_namespaced_persistent_volume_claim_with_http_info(self, name, namespac auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PersistentVolumeClaim', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1PersistentVolumeClaim', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_persistent_volume_claim_status(self, name, namespace, body, **kwargs): """ - partially update status of the specified PersistentVolumeClaim - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -16161,7 +15272,7 @@ def patch_namespaced_persistent_volume_claim_status(self, name, namespace, body, for asynchronous request. (optional) :param str name: name of the PersistentVolumeClaim (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PersistentVolumeClaim If the method is called asynchronously, @@ -16176,9 +15287,7 @@ def patch_namespaced_persistent_volume_claim_status(self, name, namespace, body, def patch_namespaced_persistent_volume_claim_status_with_http_info(self, name, namespace, body, **kwargs): """ - partially update status of the specified PersistentVolumeClaim - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -16191,7 +15300,7 @@ def patch_namespaced_persistent_volume_claim_status_with_http_info(self, name, n for asynchronous request. (optional) :param str name: name of the PersistentVolumeClaim (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PersistentVolumeClaim If the method is called asynchronously, @@ -16245,12 +15354,9 @@ def patch_namespaced_persistent_volume_claim_status_with_http_info(self, name, n body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -16260,25 +15366,23 @@ def patch_namespaced_persistent_volume_claim_status_with_http_info(self, name, n auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PersistentVolumeClaim', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1PersistentVolumeClaim', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_pod(self, name, namespace, body, **kwargs): """ - partially update the specified Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -16291,7 +15395,7 @@ def patch_namespaced_pod(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Pod (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Pod If the method is called asynchronously, @@ -16306,9 +15410,7 @@ def patch_namespaced_pod(self, name, namespace, body, **kwargs): def patch_namespaced_pod_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -16321,7 +15423,7 @@ def patch_namespaced_pod_with_http_info(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Pod (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Pod If the method is called asynchronously, @@ -16375,12 +15477,9 @@ def patch_namespaced_pod_with_http_info(self, name, namespace, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -16390,25 +15489,23 @@ def patch_namespaced_pod_with_http_info(self, name, namespace, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Pod', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Pod', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_pod_status(self, name, namespace, body, **kwargs): """ - partially update status of the specified Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -16421,7 +15518,7 @@ def patch_namespaced_pod_status(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Pod (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Pod If the method is called asynchronously, @@ -16436,9 +15533,7 @@ def patch_namespaced_pod_status(self, name, namespace, body, **kwargs): def patch_namespaced_pod_status_with_http_info(self, name, namespace, body, **kwargs): """ - partially update status of the specified Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -16451,7 +15546,7 @@ def patch_namespaced_pod_status_with_http_info(self, name, namespace, body, **kw for asynchronous request. (optional) :param str name: name of the Pod (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Pod If the method is called asynchronously, @@ -16505,12 +15600,9 @@ def patch_namespaced_pod_status_with_http_info(self, name, namespace, body, **kw body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -16520,25 +15612,23 @@ def patch_namespaced_pod_status_with_http_info(self, name, namespace, body, **kw auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Pod', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Pod', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_pod_template(self, name, namespace, body, **kwargs): """ - partially update the specified PodTemplate - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -16551,7 +15641,7 @@ def patch_namespaced_pod_template(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the PodTemplate (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PodTemplate If the method is called asynchronously, @@ -16566,9 +15656,7 @@ def patch_namespaced_pod_template(self, name, namespace, body, **kwargs): def patch_namespaced_pod_template_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified PodTemplate - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -16581,7 +15669,7 @@ def patch_namespaced_pod_template_with_http_info(self, name, namespace, body, ** for asynchronous request. (optional) :param str name: name of the PodTemplate (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PodTemplate If the method is called asynchronously, @@ -16635,12 +15723,9 @@ def patch_namespaced_pod_template_with_http_info(self, name, namespace, body, ** body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -16650,25 +15735,23 @@ def patch_namespaced_pod_template_with_http_info(self, name, namespace, body, ** auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PodTemplate', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1PodTemplate', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_replication_controller(self, name, namespace, body, **kwargs): """ - partially update the specified ReplicationController - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -16681,7 +15764,7 @@ def patch_namespaced_replication_controller(self, name, namespace, body, **kwarg for asynchronous request. (optional) :param str name: name of the ReplicationController (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ReplicationController If the method is called asynchronously, @@ -16696,9 +15779,7 @@ def patch_namespaced_replication_controller(self, name, namespace, body, **kwarg def patch_namespaced_replication_controller_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified ReplicationController - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -16711,7 +15792,7 @@ def patch_namespaced_replication_controller_with_http_info(self, name, namespace for asynchronous request. (optional) :param str name: name of the ReplicationController (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ReplicationController If the method is called asynchronously, @@ -16765,12 +15846,9 @@ def patch_namespaced_replication_controller_with_http_info(self, name, namespace body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -16780,25 +15858,23 @@ def patch_namespaced_replication_controller_with_http_info(self, name, namespace auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ReplicationController', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ReplicationController', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_replication_controller_status(self, name, namespace, body, **kwargs): """ - partially update status of the specified ReplicationController - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -16811,7 +15887,7 @@ def patch_namespaced_replication_controller_status(self, name, namespace, body, for asynchronous request. (optional) :param str name: name of the ReplicationController (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ReplicationController If the method is called asynchronously, @@ -16826,9 +15902,7 @@ def patch_namespaced_replication_controller_status(self, name, namespace, body, def patch_namespaced_replication_controller_status_with_http_info(self, name, namespace, body, **kwargs): """ - partially update status of the specified ReplicationController - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -16841,7 +15915,7 @@ def patch_namespaced_replication_controller_status_with_http_info(self, name, na for asynchronous request. (optional) :param str name: name of the ReplicationController (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ReplicationController If the method is called asynchronously, @@ -16895,12 +15969,9 @@ def patch_namespaced_replication_controller_status_with_http_info(self, name, na body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -16910,25 +15981,23 @@ def patch_namespaced_replication_controller_status_with_http_info(self, name, na auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ReplicationController', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ReplicationController', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_resource_quota(self, name, namespace, body, **kwargs): """ - partially update the specified ResourceQuota - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -16941,7 +16010,7 @@ def patch_namespaced_resource_quota(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the ResourceQuota (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ResourceQuota If the method is called asynchronously, @@ -16956,9 +16025,7 @@ def patch_namespaced_resource_quota(self, name, namespace, body, **kwargs): def patch_namespaced_resource_quota_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified ResourceQuota - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -16971,7 +16038,7 @@ def patch_namespaced_resource_quota_with_http_info(self, name, namespace, body, for asynchronous request. (optional) :param str name: name of the ResourceQuota (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ResourceQuota If the method is called asynchronously, @@ -17025,12 +16092,9 @@ def patch_namespaced_resource_quota_with_http_info(self, name, namespace, body, body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -17040,25 +16104,23 @@ def patch_namespaced_resource_quota_with_http_info(self, name, namespace, body, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ResourceQuota', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ResourceQuota', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_resource_quota_status(self, name, namespace, body, **kwargs): """ - partially update status of the specified ResourceQuota - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -17071,7 +16133,7 @@ def patch_namespaced_resource_quota_status(self, name, namespace, body, **kwargs for asynchronous request. (optional) :param str name: name of the ResourceQuota (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ResourceQuota If the method is called asynchronously, @@ -17086,9 +16148,7 @@ def patch_namespaced_resource_quota_status(self, name, namespace, body, **kwargs def patch_namespaced_resource_quota_status_with_http_info(self, name, namespace, body, **kwargs): """ - partially update status of the specified ResourceQuota - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -17101,7 +16161,7 @@ def patch_namespaced_resource_quota_status_with_http_info(self, name, namespace, for asynchronous request. (optional) :param str name: name of the ResourceQuota (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ResourceQuota If the method is called asynchronously, @@ -17155,12 +16215,9 @@ def patch_namespaced_resource_quota_status_with_http_info(self, name, namespace, body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -17170,25 +16227,23 @@ def patch_namespaced_resource_quota_status_with_http_info(self, name, namespace, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ResourceQuota', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ResourceQuota', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_scale_scale(self, name, namespace, body, **kwargs): """ - partially update scale of the specified Scale - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -17201,7 +16256,7 @@ def patch_namespaced_scale_scale(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Scale If the method is called asynchronously, @@ -17216,9 +16271,7 @@ def patch_namespaced_scale_scale(self, name, namespace, body, **kwargs): def patch_namespaced_scale_scale_with_http_info(self, name, namespace, body, **kwargs): """ - partially update scale of the specified Scale - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -17231,7 +16284,7 @@ def patch_namespaced_scale_scale_with_http_info(self, name, namespace, body, **k for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Scale If the method is called asynchronously, @@ -17285,12 +16338,9 @@ def patch_namespaced_scale_scale_with_http_info(self, name, namespace, body, **k body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -17300,25 +16350,23 @@ def patch_namespaced_scale_scale_with_http_info(self, name, namespace, body, **k auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Scale', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Scale', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_secret(self, name, namespace, body, **kwargs): """ - partially update the specified Secret - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -17331,7 +16379,7 @@ def patch_namespaced_secret(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Secret (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Secret If the method is called asynchronously, @@ -17346,9 +16394,7 @@ def patch_namespaced_secret(self, name, namespace, body, **kwargs): def patch_namespaced_secret_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified Secret - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -17361,7 +16407,7 @@ def patch_namespaced_secret_with_http_info(self, name, namespace, body, **kwargs for asynchronous request. (optional) :param str name: name of the Secret (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Secret If the method is called asynchronously, @@ -17415,12 +16461,9 @@ def patch_namespaced_secret_with_http_info(self, name, namespace, body, **kwargs body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -17430,25 +16473,23 @@ def patch_namespaced_secret_with_http_info(self, name, namespace, body, **kwargs auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Secret', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Secret', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_service(self, name, namespace, body, **kwargs): """ - partially update the specified Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -17461,7 +16502,7 @@ def patch_namespaced_service(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Service (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Service If the method is called asynchronously, @@ -17476,9 +16517,7 @@ def patch_namespaced_service(self, name, namespace, body, **kwargs): def patch_namespaced_service_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -17491,7 +16530,7 @@ def patch_namespaced_service_with_http_info(self, name, namespace, body, **kwarg for asynchronous request. (optional) :param str name: name of the Service (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Service If the method is called asynchronously, @@ -17545,12 +16584,9 @@ def patch_namespaced_service_with_http_info(self, name, namespace, body, **kwarg body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -17560,25 +16596,23 @@ def patch_namespaced_service_with_http_info(self, name, namespace, body, **kwarg auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Service', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Service', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_service_account(self, name, namespace, body, **kwargs): """ - partially update the specified ServiceAccount - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -17591,7 +16625,7 @@ def patch_namespaced_service_account(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the ServiceAccount (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ServiceAccount If the method is called asynchronously, @@ -17606,9 +16640,7 @@ def patch_namespaced_service_account(self, name, namespace, body, **kwargs): def patch_namespaced_service_account_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified ServiceAccount - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -17621,7 +16653,7 @@ def patch_namespaced_service_account_with_http_info(self, name, namespace, body, for asynchronous request. (optional) :param str name: name of the ServiceAccount (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ServiceAccount If the method is called asynchronously, @@ -17675,12 +16707,9 @@ def patch_namespaced_service_account_with_http_info(self, name, namespace, body, body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -17690,25 +16719,23 @@ def patch_namespaced_service_account_with_http_info(self, name, namespace, body, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ServiceAccount', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ServiceAccount', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_service_status(self, name, namespace, body, **kwargs): """ - partially update status of the specified Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -17721,7 +16748,7 @@ def patch_namespaced_service_status(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Service (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Service If the method is called asynchronously, @@ -17736,9 +16763,7 @@ def patch_namespaced_service_status(self, name, namespace, body, **kwargs): def patch_namespaced_service_status_with_http_info(self, name, namespace, body, **kwargs): """ - partially update status of the specified Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -17751,7 +16776,7 @@ def patch_namespaced_service_status_with_http_info(self, name, namespace, body, for asynchronous request. (optional) :param str name: name of the Service (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Service If the method is called asynchronously, @@ -17805,12 +16830,9 @@ def patch_namespaced_service_status_with_http_info(self, name, namespace, body, body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -17820,25 +16842,23 @@ def patch_namespaced_service_status_with_http_info(self, name, namespace, body, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Service', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Service', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_node(self, name, body, **kwargs): """ - partially update the specified Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -17850,7 +16870,7 @@ def patch_node(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Node (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Node If the method is called asynchronously, @@ -17865,9 +16885,7 @@ def patch_node(self, name, body, **kwargs): def patch_node_with_http_info(self, name, body, **kwargs): """ - partially update the specified Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -17879,7 +16897,7 @@ def patch_node_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Node (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Node If the method is called asynchronously, @@ -17928,12 +16946,9 @@ def patch_node_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -17943,25 +16958,23 @@ def patch_node_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Node', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Node', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_node_status(self, name, body, **kwargs): """ - partially update status of the specified Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -17973,7 +16986,7 @@ def patch_node_status(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Node (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Node If the method is called asynchronously, @@ -17988,9 +17001,7 @@ def patch_node_status(self, name, body, **kwargs): def patch_node_status_with_http_info(self, name, body, **kwargs): """ - partially update status of the specified Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -18002,7 +17013,7 @@ def patch_node_status_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Node (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Node If the method is called asynchronously, @@ -18051,12 +17062,9 @@ def patch_node_status_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -18066,25 +17074,23 @@ def patch_node_status_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Node', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Node', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_persistent_volume(self, name, body, **kwargs): """ - partially update the specified PersistentVolume - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -18096,7 +17102,7 @@ def patch_persistent_volume(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the PersistentVolume (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PersistentVolume If the method is called asynchronously, @@ -18111,9 +17117,7 @@ def patch_persistent_volume(self, name, body, **kwargs): def patch_persistent_volume_with_http_info(self, name, body, **kwargs): """ - partially update the specified PersistentVolume - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -18125,7 +17129,7 @@ def patch_persistent_volume_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the PersistentVolume (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PersistentVolume If the method is called asynchronously, @@ -18174,12 +17178,9 @@ def patch_persistent_volume_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -18189,25 +17190,23 @@ def patch_persistent_volume_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PersistentVolume', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1PersistentVolume', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_persistent_volume_status(self, name, body, **kwargs): """ - partially update status of the specified PersistentVolume - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -18219,7 +17218,7 @@ def patch_persistent_volume_status(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the PersistentVolume (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PersistentVolume If the method is called asynchronously, @@ -18234,9 +17233,7 @@ def patch_persistent_volume_status(self, name, body, **kwargs): def patch_persistent_volume_status_with_http_info(self, name, body, **kwargs): """ - partially update status of the specified PersistentVolume - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -18248,7 +17245,7 @@ def patch_persistent_volume_status_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the PersistentVolume (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PersistentVolume If the method is called asynchronously, @@ -18297,12 +17294,9 @@ def patch_persistent_volume_status_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -18312,25 +17306,23 @@ def patch_persistent_volume_status_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PersistentVolume', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1PersistentVolume', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_delete_namespaced_pod(self, name, namespace, **kwargs): """ - proxy DELETE requests to Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -18356,9 +17348,7 @@ def proxy_delete_namespaced_pod(self, name, namespace, **kwargs): def proxy_delete_namespaced_pod_with_http_info(self, name, namespace, **kwargs): """ - proxy DELETE requests to Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -18416,12 +17406,9 @@ def proxy_delete_namespaced_pod_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -18431,25 +17418,23 @@ def proxy_delete_namespaced_pod_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_delete_namespaced_pod_with_path(self, name, namespace, path, **kwargs): """ - proxy DELETE requests to Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -18476,9 +17461,7 @@ def proxy_delete_namespaced_pod_with_path(self, name, namespace, path, **kwargs) def proxy_delete_namespaced_pod_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - proxy DELETE requests to Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -18542,12 +17525,9 @@ def proxy_delete_namespaced_pod_with_path_with_http_info(self, name, namespace, local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -18557,25 +17537,23 @@ def proxy_delete_namespaced_pod_with_path_with_http_info(self, name, namespace, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_delete_namespaced_service(self, name, namespace, **kwargs): """ - proxy DELETE requests to Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -18601,9 +17579,7 @@ def proxy_delete_namespaced_service(self, name, namespace, **kwargs): def proxy_delete_namespaced_service_with_http_info(self, name, namespace, **kwargs): """ - proxy DELETE requests to Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -18661,12 +17637,9 @@ def proxy_delete_namespaced_service_with_http_info(self, name, namespace, **kwar local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -18676,25 +17649,23 @@ def proxy_delete_namespaced_service_with_http_info(self, name, namespace, **kwar auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_delete_namespaced_service_with_path(self, name, namespace, path, **kwargs): """ - proxy DELETE requests to Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -18721,9 +17692,7 @@ def proxy_delete_namespaced_service_with_path(self, name, namespace, path, **kwa def proxy_delete_namespaced_service_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - proxy DELETE requests to Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -18787,12 +17756,9 @@ def proxy_delete_namespaced_service_with_path_with_http_info(self, name, namespa local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -18802,25 +17768,23 @@ def proxy_delete_namespaced_service_with_path_with_http_info(self, name, namespa auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_delete_node(self, name, **kwargs): """ - proxy DELETE requests to Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -18845,9 +17809,7 @@ def proxy_delete_node(self, name, **kwargs): def proxy_delete_node_with_http_info(self, name, **kwargs): """ - proxy DELETE requests to Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -18899,12 +17861,9 @@ def proxy_delete_node_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -18914,25 +17873,23 @@ def proxy_delete_node_with_http_info(self, name, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_delete_node_with_path(self, name, path, **kwargs): """ - proxy DELETE requests to Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -18958,9 +17915,7 @@ def proxy_delete_node_with_path(self, name, path, **kwargs): def proxy_delete_node_with_path_with_http_info(self, name, path, **kwargs): """ - proxy DELETE requests to Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -19018,12 +17973,9 @@ def proxy_delete_node_with_path_with_http_info(self, name, path, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -19033,25 +17985,23 @@ def proxy_delete_node_with_path_with_http_info(self, name, path, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_get_namespaced_pod(self, name, namespace, **kwargs): """ - proxy GET requests to Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -19077,9 +18027,7 @@ def proxy_get_namespaced_pod(self, name, namespace, **kwargs): def proxy_get_namespaced_pod_with_http_info(self, name, namespace, **kwargs): """ - proxy GET requests to Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -19137,12 +18085,9 @@ def proxy_get_namespaced_pod_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -19152,25 +18097,23 @@ def proxy_get_namespaced_pod_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_get_namespaced_pod_with_path(self, name, namespace, path, **kwargs): """ - proxy GET requests to Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -19197,9 +18140,7 @@ def proxy_get_namespaced_pod_with_path(self, name, namespace, path, **kwargs): def proxy_get_namespaced_pod_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - proxy GET requests to Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -19263,12 +18204,9 @@ def proxy_get_namespaced_pod_with_path_with_http_info(self, name, namespace, pat local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -19278,25 +18216,23 @@ def proxy_get_namespaced_pod_with_path_with_http_info(self, name, namespace, pat auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_get_namespaced_service(self, name, namespace, **kwargs): """ - proxy GET requests to Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -19322,9 +18258,7 @@ def proxy_get_namespaced_service(self, name, namespace, **kwargs): def proxy_get_namespaced_service_with_http_info(self, name, namespace, **kwargs): """ - proxy GET requests to Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -19382,12 +18316,9 @@ def proxy_get_namespaced_service_with_http_info(self, name, namespace, **kwargs) local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -19397,25 +18328,23 @@ def proxy_get_namespaced_service_with_http_info(self, name, namespace, **kwargs) auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_get_namespaced_service_with_path(self, name, namespace, path, **kwargs): """ - proxy GET requests to Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -19442,9 +18371,7 @@ def proxy_get_namespaced_service_with_path(self, name, namespace, path, **kwargs def proxy_get_namespaced_service_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - proxy GET requests to Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -19508,12 +18435,9 @@ def proxy_get_namespaced_service_with_path_with_http_info(self, name, namespace, local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -19523,25 +18447,23 @@ def proxy_get_namespaced_service_with_path_with_http_info(self, name, namespace, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_get_node(self, name, **kwargs): """ - proxy GET requests to Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -19566,9 +18488,7 @@ def proxy_get_node(self, name, **kwargs): def proxy_get_node_with_http_info(self, name, **kwargs): """ - proxy GET requests to Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -19620,12 +18540,9 @@ def proxy_get_node_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -19635,25 +18552,23 @@ def proxy_get_node_with_http_info(self, name, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_get_node_with_path(self, name, path, **kwargs): """ - proxy GET requests to Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -19679,9 +18594,7 @@ def proxy_get_node_with_path(self, name, path, **kwargs): def proxy_get_node_with_path_with_http_info(self, name, path, **kwargs): """ - proxy GET requests to Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -19739,12 +18652,9 @@ def proxy_get_node_with_path_with_http_info(self, name, path, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -19754,25 +18664,23 @@ def proxy_get_node_with_path_with_http_info(self, name, path, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_head_namespaced_pod(self, name, namespace, **kwargs): """ - proxy HEAD requests to Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -19798,9 +18706,7 @@ def proxy_head_namespaced_pod(self, name, namespace, **kwargs): def proxy_head_namespaced_pod_with_http_info(self, name, namespace, **kwargs): """ - proxy HEAD requests to Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -19858,12 +18764,9 @@ def proxy_head_namespaced_pod_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -19873,25 +18776,23 @@ def proxy_head_namespaced_pod_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'HEAD', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_head_namespaced_pod_with_path(self, name, namespace, path, **kwargs): """ - proxy HEAD requests to Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -19918,9 +18819,7 @@ def proxy_head_namespaced_pod_with_path(self, name, namespace, path, **kwargs): def proxy_head_namespaced_pod_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - proxy HEAD requests to Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -19984,12 +18883,9 @@ def proxy_head_namespaced_pod_with_path_with_http_info(self, name, namespace, pa local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -19999,25 +18895,23 @@ def proxy_head_namespaced_pod_with_path_with_http_info(self, name, namespace, pa auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'HEAD', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_head_namespaced_service(self, name, namespace, **kwargs): """ - proxy HEAD requests to Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -20043,9 +18937,7 @@ def proxy_head_namespaced_service(self, name, namespace, **kwargs): def proxy_head_namespaced_service_with_http_info(self, name, namespace, **kwargs): """ - proxy HEAD requests to Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -20103,12 +18995,9 @@ def proxy_head_namespaced_service_with_http_info(self, name, namespace, **kwargs local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -20118,25 +19007,23 @@ def proxy_head_namespaced_service_with_http_info(self, name, namespace, **kwargs auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'HEAD', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_head_namespaced_service_with_path(self, name, namespace, path, **kwargs): """ - proxy HEAD requests to Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -20163,9 +19050,7 @@ def proxy_head_namespaced_service_with_path(self, name, namespace, path, **kwarg def proxy_head_namespaced_service_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - proxy HEAD requests to Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -20229,12 +19114,9 @@ def proxy_head_namespaced_service_with_path_with_http_info(self, name, namespace local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -20244,25 +19126,23 @@ def proxy_head_namespaced_service_with_path_with_http_info(self, name, namespace auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'HEAD', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_head_node(self, name, **kwargs): """ - proxy HEAD requests to Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -20287,9 +19167,7 @@ def proxy_head_node(self, name, **kwargs): def proxy_head_node_with_http_info(self, name, **kwargs): """ - proxy HEAD requests to Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -20341,12 +19219,9 @@ def proxy_head_node_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -20356,25 +19231,23 @@ def proxy_head_node_with_http_info(self, name, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'HEAD', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_head_node_with_path(self, name, path, **kwargs): """ - proxy HEAD requests to Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -20400,9 +19273,7 @@ def proxy_head_node_with_path(self, name, path, **kwargs): def proxy_head_node_with_path_with_http_info(self, name, path, **kwargs): """ - proxy HEAD requests to Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -20460,12 +19331,9 @@ def proxy_head_node_with_path_with_http_info(self, name, path, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -20475,25 +19343,23 @@ def proxy_head_node_with_path_with_http_info(self, name, path, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'HEAD', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_options_namespaced_pod(self, name, namespace, **kwargs): """ - proxy OPTIONS requests to Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -20519,9 +19385,7 @@ def proxy_options_namespaced_pod(self, name, namespace, **kwargs): def proxy_options_namespaced_pod_with_http_info(self, name, namespace, **kwargs): """ - proxy OPTIONS requests to Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -20579,12 +19443,9 @@ def proxy_options_namespaced_pod_with_http_info(self, name, namespace, **kwargs) local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -20594,25 +19455,23 @@ def proxy_options_namespaced_pod_with_http_info(self, name, namespace, **kwargs) auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'OPTIONS', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_options_namespaced_pod_with_path(self, name, namespace, path, **kwargs): """ - proxy OPTIONS requests to Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -20639,9 +19498,7 @@ def proxy_options_namespaced_pod_with_path(self, name, namespace, path, **kwargs def proxy_options_namespaced_pod_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - proxy OPTIONS requests to Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -20705,12 +19562,9 @@ def proxy_options_namespaced_pod_with_path_with_http_info(self, name, namespace, local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -20720,25 +19574,23 @@ def proxy_options_namespaced_pod_with_path_with_http_info(self, name, namespace, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'OPTIONS', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_options_namespaced_service(self, name, namespace, **kwargs): """ - proxy OPTIONS requests to Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -20764,9 +19616,7 @@ def proxy_options_namespaced_service(self, name, namespace, **kwargs): def proxy_options_namespaced_service_with_http_info(self, name, namespace, **kwargs): """ - proxy OPTIONS requests to Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -20824,12 +19674,9 @@ def proxy_options_namespaced_service_with_http_info(self, name, namespace, **kwa local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -20839,25 +19686,23 @@ def proxy_options_namespaced_service_with_http_info(self, name, namespace, **kwa auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'OPTIONS', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_options_namespaced_service_with_path(self, name, namespace, path, **kwargs): """ - proxy OPTIONS requests to Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -20884,9 +19729,7 @@ def proxy_options_namespaced_service_with_path(self, name, namespace, path, **kw def proxy_options_namespaced_service_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - proxy OPTIONS requests to Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -20950,12 +19793,9 @@ def proxy_options_namespaced_service_with_path_with_http_info(self, name, namesp local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -20965,25 +19805,23 @@ def proxy_options_namespaced_service_with_path_with_http_info(self, name, namesp auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'OPTIONS', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_options_node(self, name, **kwargs): """ - proxy OPTIONS requests to Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -21008,9 +19846,7 @@ def proxy_options_node(self, name, **kwargs): def proxy_options_node_with_http_info(self, name, **kwargs): """ - proxy OPTIONS requests to Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -21062,12 +19898,9 @@ def proxy_options_node_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -21077,25 +19910,23 @@ def proxy_options_node_with_http_info(self, name, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'OPTIONS', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_options_node_with_path(self, name, path, **kwargs): """ - proxy OPTIONS requests to Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -21121,9 +19952,7 @@ def proxy_options_node_with_path(self, name, path, **kwargs): def proxy_options_node_with_path_with_http_info(self, name, path, **kwargs): """ - proxy OPTIONS requests to Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -21181,12 +20010,9 @@ def proxy_options_node_with_path_with_http_info(self, name, path, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -21196,25 +20022,23 @@ def proxy_options_node_with_path_with_http_info(self, name, path, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'OPTIONS', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_post_namespaced_pod(self, name, namespace, **kwargs): """ - proxy POST requests to Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -21240,9 +20064,7 @@ def proxy_post_namespaced_pod(self, name, namespace, **kwargs): def proxy_post_namespaced_pod_with_http_info(self, name, namespace, **kwargs): """ - proxy POST requests to Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -21300,12 +20122,9 @@ def proxy_post_namespaced_pod_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -21315,25 +20134,23 @@ def proxy_post_namespaced_pod_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_post_namespaced_pod_with_path(self, name, namespace, path, **kwargs): """ - proxy POST requests to Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -21360,9 +20177,7 @@ def proxy_post_namespaced_pod_with_path(self, name, namespace, path, **kwargs): def proxy_post_namespaced_pod_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - proxy POST requests to Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -21426,12 +20241,9 @@ def proxy_post_namespaced_pod_with_path_with_http_info(self, name, namespace, pa local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -21441,25 +20253,23 @@ def proxy_post_namespaced_pod_with_path_with_http_info(self, name, namespace, pa auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_post_namespaced_service(self, name, namespace, **kwargs): """ - proxy POST requests to Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -21485,9 +20295,7 @@ def proxy_post_namespaced_service(self, name, namespace, **kwargs): def proxy_post_namespaced_service_with_http_info(self, name, namespace, **kwargs): """ - proxy POST requests to Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -21545,12 +20353,9 @@ def proxy_post_namespaced_service_with_http_info(self, name, namespace, **kwargs local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -21560,25 +20365,23 @@ def proxy_post_namespaced_service_with_http_info(self, name, namespace, **kwargs auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_post_namespaced_service_with_path(self, name, namespace, path, **kwargs): """ - proxy POST requests to Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -21605,9 +20408,7 @@ def proxy_post_namespaced_service_with_path(self, name, namespace, path, **kwarg def proxy_post_namespaced_service_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - proxy POST requests to Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -21671,12 +20472,9 @@ def proxy_post_namespaced_service_with_path_with_http_info(self, name, namespace local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -21686,25 +20484,23 @@ def proxy_post_namespaced_service_with_path_with_http_info(self, name, namespace auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_post_node(self, name, **kwargs): """ - proxy POST requests to Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -21729,9 +20525,7 @@ def proxy_post_node(self, name, **kwargs): def proxy_post_node_with_http_info(self, name, **kwargs): """ - proxy POST requests to Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -21783,12 +20577,9 @@ def proxy_post_node_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -21798,25 +20589,23 @@ def proxy_post_node_with_http_info(self, name, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_post_node_with_path(self, name, path, **kwargs): """ - proxy POST requests to Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -21842,9 +20631,7 @@ def proxy_post_node_with_path(self, name, path, **kwargs): def proxy_post_node_with_path_with_http_info(self, name, path, **kwargs): """ - proxy POST requests to Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -21902,12 +20689,9 @@ def proxy_post_node_with_path_with_http_info(self, name, path, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -21917,25 +20701,23 @@ def proxy_post_node_with_path_with_http_info(self, name, path, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_put_namespaced_pod(self, name, namespace, **kwargs): """ - proxy PUT requests to Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -21961,9 +20743,7 @@ def proxy_put_namespaced_pod(self, name, namespace, **kwargs): def proxy_put_namespaced_pod_with_http_info(self, name, namespace, **kwargs): """ - proxy PUT requests to Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -22021,12 +20801,9 @@ def proxy_put_namespaced_pod_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -22036,25 +20813,23 @@ def proxy_put_namespaced_pod_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_put_namespaced_pod_with_path(self, name, namespace, path, **kwargs): """ - proxy PUT requests to Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -22081,9 +20856,7 @@ def proxy_put_namespaced_pod_with_path(self, name, namespace, path, **kwargs): def proxy_put_namespaced_pod_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - proxy PUT requests to Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -22147,12 +20920,9 @@ def proxy_put_namespaced_pod_with_path_with_http_info(self, name, namespace, pat local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -22162,25 +20932,23 @@ def proxy_put_namespaced_pod_with_path_with_http_info(self, name, namespace, pat auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_put_namespaced_service(self, name, namespace, **kwargs): """ - proxy PUT requests to Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -22206,9 +20974,7 @@ def proxy_put_namespaced_service(self, name, namespace, **kwargs): def proxy_put_namespaced_service_with_http_info(self, name, namespace, **kwargs): """ - proxy PUT requests to Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -22266,12 +21032,9 @@ def proxy_put_namespaced_service_with_http_info(self, name, namespace, **kwargs) local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -22281,25 +21044,23 @@ def proxy_put_namespaced_service_with_http_info(self, name, namespace, **kwargs) auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_put_namespaced_service_with_path(self, name, namespace, path, **kwargs): """ - proxy PUT requests to Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -22326,9 +21087,7 @@ def proxy_put_namespaced_service_with_path(self, name, namespace, path, **kwargs def proxy_put_namespaced_service_with_path_with_http_info(self, name, namespace, path, **kwargs): """ - proxy PUT requests to Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -22392,12 +21151,9 @@ def proxy_put_namespaced_service_with_path_with_http_info(self, name, namespace, local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -22407,25 +21163,23 @@ def proxy_put_namespaced_service_with_path_with_http_info(self, name, namespace, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_put_node(self, name, **kwargs): """ - proxy PUT requests to Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -22450,9 +21204,7 @@ def proxy_put_node(self, name, **kwargs): def proxy_put_node_with_http_info(self, name, **kwargs): """ - proxy PUT requests to Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -22504,12 +21256,9 @@ def proxy_put_node_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -22519,25 +21268,23 @@ def proxy_put_node_with_http_info(self, name, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def proxy_put_node_with_path(self, name, path, **kwargs): """ - proxy PUT requests to Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -22563,9 +21310,7 @@ def proxy_put_node_with_path(self, name, path, **kwargs): def proxy_put_node_with_path_with_http_info(self, name, path, **kwargs): """ - proxy PUT requests to Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -22623,12 +21368,9 @@ def proxy_put_node_with_path_with_http_info(self, name, path, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['*/*']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -22638,25 +21380,23 @@ def proxy_put_node_with_path_with_http_info(self, name, path, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_component_status(self, name, **kwargs): """ - read the specified ComponentStatus - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -22682,9 +21422,7 @@ def read_component_status(self, name, **kwargs): def read_component_status_with_http_info(self, name, **kwargs): """ - read the specified ComponentStatus - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -22739,12 +21477,9 @@ def read_component_status_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -22754,25 +21489,23 @@ def read_component_status_with_http_info(self, name, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ComponentStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ComponentStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespace(self, name, **kwargs): """ - read the specified Namespace - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -22800,9 +21533,7 @@ def read_namespace(self, name, **kwargs): def read_namespace_with_http_info(self, name, **kwargs): """ - read the specified Namespace - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -22863,12 +21594,9 @@ def read_namespace_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -22878,25 +21606,23 @@ def read_namespace_with_http_info(self, name, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Namespace', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Namespace', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespace_status(self, name, **kwargs): """ - read status of the specified Namespace - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -22922,9 +21648,7 @@ def read_namespace_status(self, name, **kwargs): def read_namespace_status_with_http_info(self, name, **kwargs): """ - read status of the specified Namespace - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -22979,12 +21703,9 @@ def read_namespace_status_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -22994,25 +21715,23 @@ def read_namespace_status_with_http_info(self, name, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Namespace', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Namespace', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_config_map(self, name, namespace, **kwargs): """ - read the specified ConfigMap - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -23041,9 +21760,7 @@ def read_namespaced_config_map(self, name, namespace, **kwargs): def read_namespaced_config_map_with_http_info(self, name, namespace, **kwargs): """ - read the specified ConfigMap - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -23110,12 +21827,9 @@ def read_namespaced_config_map_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -23125,25 +21839,23 @@ def read_namespaced_config_map_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ConfigMap', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ConfigMap', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_endpoints(self, name, namespace, **kwargs): """ - read the specified Endpoints - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -23172,9 +21884,7 @@ def read_namespaced_endpoints(self, name, namespace, **kwargs): def read_namespaced_endpoints_with_http_info(self, name, namespace, **kwargs): """ - read the specified Endpoints - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -23241,12 +21951,9 @@ def read_namespaced_endpoints_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -23256,25 +21963,23 @@ def read_namespaced_endpoints_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Endpoints', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Endpoints', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_event(self, name, namespace, **kwargs): """ - read the specified Event - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -23303,9 +22008,7 @@ def read_namespaced_event(self, name, namespace, **kwargs): def read_namespaced_event_with_http_info(self, name, namespace, **kwargs): """ - read the specified Event - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -23372,12 +22075,9 @@ def read_namespaced_event_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -23387,25 +22087,23 @@ def read_namespaced_event_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Event', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Event', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_limit_range(self, name, namespace, **kwargs): """ - read the specified LimitRange - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -23434,9 +22132,7 @@ def read_namespaced_limit_range(self, name, namespace, **kwargs): def read_namespaced_limit_range_with_http_info(self, name, namespace, **kwargs): """ - read the specified LimitRange - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -23503,12 +22199,9 @@ def read_namespaced_limit_range_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -23518,25 +22211,23 @@ def read_namespaced_limit_range_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1LimitRange', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1LimitRange', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_persistent_volume_claim(self, name, namespace, **kwargs): """ - read the specified PersistentVolumeClaim - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -23565,9 +22256,7 @@ def read_namespaced_persistent_volume_claim(self, name, namespace, **kwargs): def read_namespaced_persistent_volume_claim_with_http_info(self, name, namespace, **kwargs): """ - read the specified PersistentVolumeClaim - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -23634,12 +22323,9 @@ def read_namespaced_persistent_volume_claim_with_http_info(self, name, namespace local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -23649,25 +22335,23 @@ def read_namespaced_persistent_volume_claim_with_http_info(self, name, namespace auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PersistentVolumeClaim', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1PersistentVolumeClaim', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_persistent_volume_claim_status(self, name, namespace, **kwargs): """ - read status of the specified PersistentVolumeClaim - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -23694,9 +22378,7 @@ def read_namespaced_persistent_volume_claim_status(self, name, namespace, **kwar def read_namespaced_persistent_volume_claim_status_with_http_info(self, name, namespace, **kwargs): """ - read status of the specified PersistentVolumeClaim - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -23757,12 +22439,9 @@ def read_namespaced_persistent_volume_claim_status_with_http_info(self, name, na local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -23772,25 +22451,23 @@ def read_namespaced_persistent_volume_claim_status_with_http_info(self, name, na auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PersistentVolumeClaim', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1PersistentVolumeClaim', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_pod(self, name, namespace, **kwargs): """ - read the specified Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -23819,9 +22496,7 @@ def read_namespaced_pod(self, name, namespace, **kwargs): def read_namespaced_pod_with_http_info(self, name, namespace, **kwargs): """ - read the specified Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -23888,12 +22563,9 @@ def read_namespaced_pod_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -23903,25 +22575,23 @@ def read_namespaced_pod_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Pod', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Pod', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_pod_log(self, name, namespace, **kwargs): """ - read log of the specified Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -23956,9 +22626,7 @@ def read_namespaced_pod_log(self, name, namespace, **kwargs): def read_namespaced_pod_log_with_http_info(self, name, namespace, **kwargs): """ - read log of the specified Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -24043,12 +22711,9 @@ def read_namespaced_pod_log_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['text/plain', 'application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -24058,25 +22723,23 @@ def read_namespaced_pod_log_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='str', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='str', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_pod_status(self, name, namespace, **kwargs): """ - read status of the specified Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -24103,9 +22766,7 @@ def read_namespaced_pod_status(self, name, namespace, **kwargs): def read_namespaced_pod_status_with_http_info(self, name, namespace, **kwargs): """ - read status of the specified Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -24166,12 +22827,9 @@ def read_namespaced_pod_status_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -24181,25 +22839,23 @@ def read_namespaced_pod_status_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Pod', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Pod', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_pod_template(self, name, namespace, **kwargs): """ - read the specified PodTemplate - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -24228,9 +22884,7 @@ def read_namespaced_pod_template(self, name, namespace, **kwargs): def read_namespaced_pod_template_with_http_info(self, name, namespace, **kwargs): """ - read the specified PodTemplate - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -24297,12 +22951,9 @@ def read_namespaced_pod_template_with_http_info(self, name, namespace, **kwargs) local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -24312,25 +22963,23 @@ def read_namespaced_pod_template_with_http_info(self, name, namespace, **kwargs) auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PodTemplate', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1PodTemplate', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_replication_controller(self, name, namespace, **kwargs): """ - read the specified ReplicationController - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -24359,9 +23008,7 @@ def read_namespaced_replication_controller(self, name, namespace, **kwargs): def read_namespaced_replication_controller_with_http_info(self, name, namespace, **kwargs): """ - read the specified ReplicationController - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -24428,12 +23075,9 @@ def read_namespaced_replication_controller_with_http_info(self, name, namespace, local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -24443,25 +23087,23 @@ def read_namespaced_replication_controller_with_http_info(self, name, namespace, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ReplicationController', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ReplicationController', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_replication_controller_status(self, name, namespace, **kwargs): """ - read status of the specified ReplicationController - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -24488,9 +23130,7 @@ def read_namespaced_replication_controller_status(self, name, namespace, **kwarg def read_namespaced_replication_controller_status_with_http_info(self, name, namespace, **kwargs): """ - read status of the specified ReplicationController - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -24551,12 +23191,9 @@ def read_namespaced_replication_controller_status_with_http_info(self, name, nam local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -24566,25 +23203,23 @@ def read_namespaced_replication_controller_status_with_http_info(self, name, nam auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ReplicationController', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ReplicationController', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_resource_quota(self, name, namespace, **kwargs): """ - read the specified ResourceQuota - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -24613,9 +23248,7 @@ def read_namespaced_resource_quota(self, name, namespace, **kwargs): def read_namespaced_resource_quota_with_http_info(self, name, namespace, **kwargs): """ - read the specified ResourceQuota - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -24682,12 +23315,9 @@ def read_namespaced_resource_quota_with_http_info(self, name, namespace, **kwarg local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -24697,25 +23327,23 @@ def read_namespaced_resource_quota_with_http_info(self, name, namespace, **kwarg auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ResourceQuota', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ResourceQuota', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_resource_quota_status(self, name, namespace, **kwargs): """ - read status of the specified ResourceQuota - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -24742,9 +23370,7 @@ def read_namespaced_resource_quota_status(self, name, namespace, **kwargs): def read_namespaced_resource_quota_status_with_http_info(self, name, namespace, **kwargs): """ - read status of the specified ResourceQuota - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -24805,12 +23431,9 @@ def read_namespaced_resource_quota_status_with_http_info(self, name, namespace, local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -24820,25 +23443,23 @@ def read_namespaced_resource_quota_status_with_http_info(self, name, namespace, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ResourceQuota', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ResourceQuota', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_scale_scale(self, name, namespace, **kwargs): """ - read scale of the specified Scale - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -24865,9 +23486,7 @@ def read_namespaced_scale_scale(self, name, namespace, **kwargs): def read_namespaced_scale_scale_with_http_info(self, name, namespace, **kwargs): """ - read scale of the specified Scale - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -24928,12 +23547,9 @@ def read_namespaced_scale_scale_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -24943,25 +23559,23 @@ def read_namespaced_scale_scale_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Scale', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Scale', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_secret(self, name, namespace, **kwargs): """ - read the specified Secret - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -24990,9 +23604,7 @@ def read_namespaced_secret(self, name, namespace, **kwargs): def read_namespaced_secret_with_http_info(self, name, namespace, **kwargs): """ - read the specified Secret - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -25059,12 +23671,9 @@ def read_namespaced_secret_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -25074,25 +23683,23 @@ def read_namespaced_secret_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Secret', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Secret', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_service(self, name, namespace, **kwargs): """ - read the specified Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -25121,9 +23728,7 @@ def read_namespaced_service(self, name, namespace, **kwargs): def read_namespaced_service_with_http_info(self, name, namespace, **kwargs): """ - read the specified Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -25190,12 +23795,9 @@ def read_namespaced_service_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -25205,25 +23807,23 @@ def read_namespaced_service_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Service', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Service', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_service_account(self, name, namespace, **kwargs): """ - read the specified ServiceAccount - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -25252,9 +23852,7 @@ def read_namespaced_service_account(self, name, namespace, **kwargs): def read_namespaced_service_account_with_http_info(self, name, namespace, **kwargs): """ - read the specified ServiceAccount - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -25321,12 +23919,9 @@ def read_namespaced_service_account_with_http_info(self, name, namespace, **kwar local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -25336,25 +23931,23 @@ def read_namespaced_service_account_with_http_info(self, name, namespace, **kwar auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ServiceAccount', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ServiceAccount', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_service_status(self, name, namespace, **kwargs): """ - read status of the specified Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -25381,9 +23974,7 @@ def read_namespaced_service_status(self, name, namespace, **kwargs): def read_namespaced_service_status_with_http_info(self, name, namespace, **kwargs): """ - read status of the specified Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -25444,12 +24035,9 @@ def read_namespaced_service_status_with_http_info(self, name, namespace, **kwarg local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -25459,25 +24047,23 @@ def read_namespaced_service_status_with_http_info(self, name, namespace, **kwarg auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Service', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Service', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_node(self, name, **kwargs): """ - read the specified Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -25505,9 +24091,7 @@ def read_node(self, name, **kwargs): def read_node_with_http_info(self, name, **kwargs): """ - read the specified Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -25568,12 +24152,9 @@ def read_node_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -25583,25 +24164,23 @@ def read_node_with_http_info(self, name, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Node', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Node', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_node_status(self, name, **kwargs): """ - read status of the specified Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -25627,9 +24206,7 @@ def read_node_status(self, name, **kwargs): def read_node_status_with_http_info(self, name, **kwargs): """ - read status of the specified Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -25684,12 +24261,9 @@ def read_node_status_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -25699,25 +24273,23 @@ def read_node_status_with_http_info(self, name, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Node', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Node', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_persistent_volume(self, name, **kwargs): """ - read the specified PersistentVolume - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -25745,9 +24317,7 @@ def read_persistent_volume(self, name, **kwargs): def read_persistent_volume_with_http_info(self, name, **kwargs): """ - read the specified PersistentVolume - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -25808,12 +24378,9 @@ def read_persistent_volume_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -25823,25 +24390,23 @@ def read_persistent_volume_with_http_info(self, name, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PersistentVolume', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1PersistentVolume', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_persistent_volume_status(self, name, **kwargs): """ - read status of the specified PersistentVolume - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -25867,9 +24432,7 @@ def read_persistent_volume_status(self, name, **kwargs): def read_persistent_volume_status_with_http_info(self, name, **kwargs): """ - read status of the specified PersistentVolume - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -25924,12 +24487,9 @@ def read_persistent_volume_status_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -25939,25 +24499,23 @@ def read_persistent_volume_status_with_http_info(self, name, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PersistentVolume', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1PersistentVolume', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespace(self, name, body, **kwargs): """ - replace the specified Namespace - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -25969,7 +24527,7 @@ def replace_namespace(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Namespace (required) - :param V1Namespace body: (required) + :param V1Namespace body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Namespace If the method is called asynchronously, @@ -25984,9 +24542,7 @@ def replace_namespace(self, name, body, **kwargs): def replace_namespace_with_http_info(self, name, body, **kwargs): """ - replace the specified Namespace - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -25998,7 +24554,7 @@ def replace_namespace_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Namespace (required) - :param V1Namespace body: (required) + :param V1Namespace body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Namespace If the method is called asynchronously, @@ -26047,12 +24603,9 @@ def replace_namespace_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -26062,25 +24615,23 @@ def replace_namespace_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Namespace', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Namespace', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespace_finalize(self, body, name, **kwargs): """ - replace finalize of the specified Namespace - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -26091,7 +24642,7 @@ def replace_namespace_finalize(self, body, name, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1Namespace body: (required) + :param V1Namespace body: (required) :param str name: name of the Namespace (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Namespace @@ -26107,9 +24658,7 @@ def replace_namespace_finalize(self, body, name, **kwargs): def replace_namespace_finalize_with_http_info(self, body, name, **kwargs): """ - replace finalize of the specified Namespace - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -26120,7 +24669,7 @@ def replace_namespace_finalize_with_http_info(self, body, name, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1Namespace body: (required) + :param V1Namespace body: (required) :param str name: name of the Namespace (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Namespace @@ -26170,12 +24719,9 @@ def replace_namespace_finalize_with_http_info(self, body, name, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -26185,25 +24731,23 @@ def replace_namespace_finalize_with_http_info(self, body, name, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Namespace', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Namespace', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespace_status(self, name, body, **kwargs): """ - replace status of the specified Namespace - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -26215,7 +24759,7 @@ def replace_namespace_status(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Namespace (required) - :param V1Namespace body: (required) + :param V1Namespace body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Namespace If the method is called asynchronously, @@ -26230,9 +24774,7 @@ def replace_namespace_status(self, name, body, **kwargs): def replace_namespace_status_with_http_info(self, name, body, **kwargs): """ - replace status of the specified Namespace - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -26244,7 +24786,7 @@ def replace_namespace_status_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Namespace (required) - :param V1Namespace body: (required) + :param V1Namespace body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Namespace If the method is called asynchronously, @@ -26293,12 +24835,9 @@ def replace_namespace_status_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -26308,25 +24847,23 @@ def replace_namespace_status_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Namespace', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Namespace', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_config_map(self, name, namespace, body, **kwargs): """ - replace the specified ConfigMap - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -26339,7 +24876,7 @@ def replace_namespaced_config_map(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the ConfigMap (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1ConfigMap body: (required) + :param V1ConfigMap body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ConfigMap If the method is called asynchronously, @@ -26354,9 +24891,7 @@ def replace_namespaced_config_map(self, name, namespace, body, **kwargs): def replace_namespaced_config_map_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified ConfigMap - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -26369,7 +24904,7 @@ def replace_namespaced_config_map_with_http_info(self, name, namespace, body, ** for asynchronous request. (optional) :param str name: name of the ConfigMap (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1ConfigMap body: (required) + :param V1ConfigMap body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ConfigMap If the method is called asynchronously, @@ -26423,12 +24958,9 @@ def replace_namespaced_config_map_with_http_info(self, name, namespace, body, ** body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -26438,25 +24970,23 @@ def replace_namespaced_config_map_with_http_info(self, name, namespace, body, ** auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ConfigMap', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ConfigMap', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_endpoints(self, name, namespace, body, **kwargs): """ - replace the specified Endpoints - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -26469,7 +24999,7 @@ def replace_namespaced_endpoints(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Endpoints (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Endpoints body: (required) + :param V1Endpoints body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Endpoints If the method is called asynchronously, @@ -26484,9 +25014,7 @@ def replace_namespaced_endpoints(self, name, namespace, body, **kwargs): def replace_namespaced_endpoints_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified Endpoints - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -26499,7 +25027,7 @@ def replace_namespaced_endpoints_with_http_info(self, name, namespace, body, **k for asynchronous request. (optional) :param str name: name of the Endpoints (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Endpoints body: (required) + :param V1Endpoints body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Endpoints If the method is called asynchronously, @@ -26553,12 +25081,9 @@ def replace_namespaced_endpoints_with_http_info(self, name, namespace, body, **k body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -26568,25 +25093,23 @@ def replace_namespaced_endpoints_with_http_info(self, name, namespace, body, **k auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Endpoints', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Endpoints', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_event(self, name, namespace, body, **kwargs): """ - replace the specified Event - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -26599,7 +25122,7 @@ def replace_namespaced_event(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Event (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Event body: (required) + :param V1Event body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Event If the method is called asynchronously, @@ -26614,9 +25137,7 @@ def replace_namespaced_event(self, name, namespace, body, **kwargs): def replace_namespaced_event_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified Event - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -26629,7 +25150,7 @@ def replace_namespaced_event_with_http_info(self, name, namespace, body, **kwarg for asynchronous request. (optional) :param str name: name of the Event (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Event body: (required) + :param V1Event body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Event If the method is called asynchronously, @@ -26683,12 +25204,9 @@ def replace_namespaced_event_with_http_info(self, name, namespace, body, **kwarg body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -26698,25 +25216,23 @@ def replace_namespaced_event_with_http_info(self, name, namespace, body, **kwarg auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Event', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Event', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_limit_range(self, name, namespace, body, **kwargs): """ - replace the specified LimitRange - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -26729,7 +25245,7 @@ def replace_namespaced_limit_range(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the LimitRange (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1LimitRange body: (required) + :param V1LimitRange body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1LimitRange If the method is called asynchronously, @@ -26744,9 +25260,7 @@ def replace_namespaced_limit_range(self, name, namespace, body, **kwargs): def replace_namespaced_limit_range_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified LimitRange - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -26759,7 +25273,7 @@ def replace_namespaced_limit_range_with_http_info(self, name, namespace, body, * for asynchronous request. (optional) :param str name: name of the LimitRange (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1LimitRange body: (required) + :param V1LimitRange body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1LimitRange If the method is called asynchronously, @@ -26813,12 +25327,9 @@ def replace_namespaced_limit_range_with_http_info(self, name, namespace, body, * body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -26828,25 +25339,23 @@ def replace_namespaced_limit_range_with_http_info(self, name, namespace, body, * auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1LimitRange', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1LimitRange', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_persistent_volume_claim(self, name, namespace, body, **kwargs): """ - replace the specified PersistentVolumeClaim - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -26859,7 +25368,7 @@ def replace_namespaced_persistent_volume_claim(self, name, namespace, body, **kw for asynchronous request. (optional) :param str name: name of the PersistentVolumeClaim (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1PersistentVolumeClaim body: (required) + :param V1PersistentVolumeClaim body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PersistentVolumeClaim If the method is called asynchronously, @@ -26874,9 +25383,7 @@ def replace_namespaced_persistent_volume_claim(self, name, namespace, body, **kw def replace_namespaced_persistent_volume_claim_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified PersistentVolumeClaim - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -26889,7 +25396,7 @@ def replace_namespaced_persistent_volume_claim_with_http_info(self, name, namesp for asynchronous request. (optional) :param str name: name of the PersistentVolumeClaim (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1PersistentVolumeClaim body: (required) + :param V1PersistentVolumeClaim body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PersistentVolumeClaim If the method is called asynchronously, @@ -26943,12 +25450,9 @@ def replace_namespaced_persistent_volume_claim_with_http_info(self, name, namesp body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -26958,25 +25462,23 @@ def replace_namespaced_persistent_volume_claim_with_http_info(self, name, namesp auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PersistentVolumeClaim', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1PersistentVolumeClaim', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_persistent_volume_claim_status(self, name, namespace, body, **kwargs): """ - replace status of the specified PersistentVolumeClaim - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -26989,7 +25491,7 @@ def replace_namespaced_persistent_volume_claim_status(self, name, namespace, bod for asynchronous request. (optional) :param str name: name of the PersistentVolumeClaim (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1PersistentVolumeClaim body: (required) + :param V1PersistentVolumeClaim body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PersistentVolumeClaim If the method is called asynchronously, @@ -27004,9 +25506,7 @@ def replace_namespaced_persistent_volume_claim_status(self, name, namespace, bod def replace_namespaced_persistent_volume_claim_status_with_http_info(self, name, namespace, body, **kwargs): """ - replace status of the specified PersistentVolumeClaim - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -27019,7 +25519,7 @@ def replace_namespaced_persistent_volume_claim_status_with_http_info(self, name, for asynchronous request. (optional) :param str name: name of the PersistentVolumeClaim (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1PersistentVolumeClaim body: (required) + :param V1PersistentVolumeClaim body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PersistentVolumeClaim If the method is called asynchronously, @@ -27073,12 +25573,9 @@ def replace_namespaced_persistent_volume_claim_status_with_http_info(self, name, body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -27088,25 +25585,23 @@ def replace_namespaced_persistent_volume_claim_status_with_http_info(self, name, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PersistentVolumeClaim', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1PersistentVolumeClaim', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_pod(self, name, namespace, body, **kwargs): """ - replace the specified Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -27119,7 +25614,7 @@ def replace_namespaced_pod(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Pod (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Pod body: (required) + :param V1Pod body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Pod If the method is called asynchronously, @@ -27134,9 +25629,7 @@ def replace_namespaced_pod(self, name, namespace, body, **kwargs): def replace_namespaced_pod_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -27149,7 +25642,7 @@ def replace_namespaced_pod_with_http_info(self, name, namespace, body, **kwargs) for asynchronous request. (optional) :param str name: name of the Pod (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Pod body: (required) + :param V1Pod body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Pod If the method is called asynchronously, @@ -27203,12 +25696,9 @@ def replace_namespaced_pod_with_http_info(self, name, namespace, body, **kwargs) body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -27218,25 +25708,23 @@ def replace_namespaced_pod_with_http_info(self, name, namespace, body, **kwargs) auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Pod', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Pod', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_pod_status(self, name, namespace, body, **kwargs): """ - replace status of the specified Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -27249,7 +25737,7 @@ def replace_namespaced_pod_status(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Pod (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Pod body: (required) + :param V1Pod body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Pod If the method is called asynchronously, @@ -27264,9 +25752,7 @@ def replace_namespaced_pod_status(self, name, namespace, body, **kwargs): def replace_namespaced_pod_status_with_http_info(self, name, namespace, body, **kwargs): """ - replace status of the specified Pod - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -27279,7 +25765,7 @@ def replace_namespaced_pod_status_with_http_info(self, name, namespace, body, ** for asynchronous request. (optional) :param str name: name of the Pod (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Pod body: (required) + :param V1Pod body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Pod If the method is called asynchronously, @@ -27333,12 +25819,9 @@ def replace_namespaced_pod_status_with_http_info(self, name, namespace, body, ** body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -27348,25 +25831,23 @@ def replace_namespaced_pod_status_with_http_info(self, name, namespace, body, ** auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Pod', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Pod', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_pod_template(self, name, namespace, body, **kwargs): """ - replace the specified PodTemplate - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -27379,7 +25860,7 @@ def replace_namespaced_pod_template(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the PodTemplate (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1PodTemplate body: (required) + :param V1PodTemplate body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PodTemplate If the method is called asynchronously, @@ -27394,9 +25875,7 @@ def replace_namespaced_pod_template(self, name, namespace, body, **kwargs): def replace_namespaced_pod_template_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified PodTemplate - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -27409,7 +25888,7 @@ def replace_namespaced_pod_template_with_http_info(self, name, namespace, body, for asynchronous request. (optional) :param str name: name of the PodTemplate (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1PodTemplate body: (required) + :param V1PodTemplate body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PodTemplate If the method is called asynchronously, @@ -27463,12 +25942,9 @@ def replace_namespaced_pod_template_with_http_info(self, name, namespace, body, body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -27478,25 +25954,23 @@ def replace_namespaced_pod_template_with_http_info(self, name, namespace, body, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PodTemplate', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1PodTemplate', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_replication_controller(self, name, namespace, body, **kwargs): """ - replace the specified ReplicationController - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -27509,7 +25983,7 @@ def replace_namespaced_replication_controller(self, name, namespace, body, **kwa for asynchronous request. (optional) :param str name: name of the ReplicationController (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1ReplicationController body: (required) + :param V1ReplicationController body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ReplicationController If the method is called asynchronously, @@ -27524,9 +25998,7 @@ def replace_namespaced_replication_controller(self, name, namespace, body, **kwa def replace_namespaced_replication_controller_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified ReplicationController - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -27539,7 +26011,7 @@ def replace_namespaced_replication_controller_with_http_info(self, name, namespa for asynchronous request. (optional) :param str name: name of the ReplicationController (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1ReplicationController body: (required) + :param V1ReplicationController body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ReplicationController If the method is called asynchronously, @@ -27593,12 +26065,9 @@ def replace_namespaced_replication_controller_with_http_info(self, name, namespa body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -27608,25 +26077,23 @@ def replace_namespaced_replication_controller_with_http_info(self, name, namespa auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ReplicationController', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ReplicationController', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_replication_controller_status(self, name, namespace, body, **kwargs): """ - replace status of the specified ReplicationController - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -27639,7 +26106,7 @@ def replace_namespaced_replication_controller_status(self, name, namespace, body for asynchronous request. (optional) :param str name: name of the ReplicationController (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1ReplicationController body: (required) + :param V1ReplicationController body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ReplicationController If the method is called asynchronously, @@ -27654,9 +26121,7 @@ def replace_namespaced_replication_controller_status(self, name, namespace, body def replace_namespaced_replication_controller_status_with_http_info(self, name, namespace, body, **kwargs): """ - replace status of the specified ReplicationController - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -27669,7 +26134,7 @@ def replace_namespaced_replication_controller_status_with_http_info(self, name, for asynchronous request. (optional) :param str name: name of the ReplicationController (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1ReplicationController body: (required) + :param V1ReplicationController body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ReplicationController If the method is called asynchronously, @@ -27723,12 +26188,9 @@ def replace_namespaced_replication_controller_status_with_http_info(self, name, body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -27738,25 +26200,23 @@ def replace_namespaced_replication_controller_status_with_http_info(self, name, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ReplicationController', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ReplicationController', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_resource_quota(self, name, namespace, body, **kwargs): """ - replace the specified ResourceQuota - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -27769,7 +26229,7 @@ def replace_namespaced_resource_quota(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the ResourceQuota (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1ResourceQuota body: (required) + :param V1ResourceQuota body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ResourceQuota If the method is called asynchronously, @@ -27784,9 +26244,7 @@ def replace_namespaced_resource_quota(self, name, namespace, body, **kwargs): def replace_namespaced_resource_quota_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified ResourceQuota - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -27799,7 +26257,7 @@ def replace_namespaced_resource_quota_with_http_info(self, name, namespace, body for asynchronous request. (optional) :param str name: name of the ResourceQuota (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1ResourceQuota body: (required) + :param V1ResourceQuota body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ResourceQuota If the method is called asynchronously, @@ -27853,12 +26311,9 @@ def replace_namespaced_resource_quota_with_http_info(self, name, namespace, body body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -27868,25 +26323,23 @@ def replace_namespaced_resource_quota_with_http_info(self, name, namespace, body auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ResourceQuota', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ResourceQuota', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_resource_quota_status(self, name, namespace, body, **kwargs): """ - replace status of the specified ResourceQuota - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -27899,7 +26352,7 @@ def replace_namespaced_resource_quota_status(self, name, namespace, body, **kwar for asynchronous request. (optional) :param str name: name of the ResourceQuota (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1ResourceQuota body: (required) + :param V1ResourceQuota body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ResourceQuota If the method is called asynchronously, @@ -27914,9 +26367,7 @@ def replace_namespaced_resource_quota_status(self, name, namespace, body, **kwar def replace_namespaced_resource_quota_status_with_http_info(self, name, namespace, body, **kwargs): """ - replace status of the specified ResourceQuota - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -27929,7 +26380,7 @@ def replace_namespaced_resource_quota_status_with_http_info(self, name, namespac for asynchronous request. (optional) :param str name: name of the ResourceQuota (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1ResourceQuota body: (required) + :param V1ResourceQuota body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ResourceQuota If the method is called asynchronously, @@ -27983,12 +26434,9 @@ def replace_namespaced_resource_quota_status_with_http_info(self, name, namespac body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -27998,25 +26446,23 @@ def replace_namespaced_resource_quota_status_with_http_info(self, name, namespac auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ResourceQuota', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ResourceQuota', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_scale_scale(self, name, namespace, body, **kwargs): """ - replace scale of the specified Scale - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -28029,7 +26475,7 @@ def replace_namespaced_scale_scale(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Scale body: (required) + :param V1Scale body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Scale If the method is called asynchronously, @@ -28044,9 +26490,7 @@ def replace_namespaced_scale_scale(self, name, namespace, body, **kwargs): def replace_namespaced_scale_scale_with_http_info(self, name, namespace, body, **kwargs): """ - replace scale of the specified Scale - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -28059,7 +26503,7 @@ def replace_namespaced_scale_scale_with_http_info(self, name, namespace, body, * for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Scale body: (required) + :param V1Scale body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Scale If the method is called asynchronously, @@ -28113,12 +26557,9 @@ def replace_namespaced_scale_scale_with_http_info(self, name, namespace, body, * body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -28128,25 +26569,23 @@ def replace_namespaced_scale_scale_with_http_info(self, name, namespace, body, * auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Scale', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Scale', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_secret(self, name, namespace, body, **kwargs): """ - replace the specified Secret - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -28159,7 +26598,7 @@ def replace_namespaced_secret(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Secret (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Secret body: (required) + :param V1Secret body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Secret If the method is called asynchronously, @@ -28174,9 +26613,7 @@ def replace_namespaced_secret(self, name, namespace, body, **kwargs): def replace_namespaced_secret_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified Secret - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -28189,7 +26626,7 @@ def replace_namespaced_secret_with_http_info(self, name, namespace, body, **kwar for asynchronous request. (optional) :param str name: name of the Secret (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Secret body: (required) + :param V1Secret body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Secret If the method is called asynchronously, @@ -28243,12 +26680,9 @@ def replace_namespaced_secret_with_http_info(self, name, namespace, body, **kwar body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -28258,25 +26692,23 @@ def replace_namespaced_secret_with_http_info(self, name, namespace, body, **kwar auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Secret', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Secret', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_service(self, name, namespace, body, **kwargs): """ - replace the specified Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -28289,7 +26721,7 @@ def replace_namespaced_service(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Service (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Service body: (required) + :param V1Service body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Service If the method is called asynchronously, @@ -28304,9 +26736,7 @@ def replace_namespaced_service(self, name, namespace, body, **kwargs): def replace_namespaced_service_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -28319,7 +26749,7 @@ def replace_namespaced_service_with_http_info(self, name, namespace, body, **kwa for asynchronous request. (optional) :param str name: name of the Service (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Service body: (required) + :param V1Service body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Service If the method is called asynchronously, @@ -28373,12 +26803,9 @@ def replace_namespaced_service_with_http_info(self, name, namespace, body, **kwa body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -28388,25 +26815,23 @@ def replace_namespaced_service_with_http_info(self, name, namespace, body, **kwa auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Service', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Service', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_service_account(self, name, namespace, body, **kwargs): """ - replace the specified ServiceAccount - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -28419,7 +26844,7 @@ def replace_namespaced_service_account(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the ServiceAccount (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1ServiceAccount body: (required) + :param V1ServiceAccount body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ServiceAccount If the method is called asynchronously, @@ -28434,9 +26859,7 @@ def replace_namespaced_service_account(self, name, namespace, body, **kwargs): def replace_namespaced_service_account_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified ServiceAccount - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -28449,7 +26872,7 @@ def replace_namespaced_service_account_with_http_info(self, name, namespace, bod for asynchronous request. (optional) :param str name: name of the ServiceAccount (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1ServiceAccount body: (required) + :param V1ServiceAccount body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1ServiceAccount If the method is called asynchronously, @@ -28503,12 +26926,9 @@ def replace_namespaced_service_account_with_http_info(self, name, namespace, bod body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -28518,25 +26938,23 @@ def replace_namespaced_service_account_with_http_info(self, name, namespace, bod auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1ServiceAccount', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1ServiceAccount', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_service_status(self, name, namespace, body, **kwargs): """ - replace status of the specified Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -28549,7 +26967,7 @@ def replace_namespaced_service_status(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Service (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Service body: (required) + :param V1Service body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Service If the method is called asynchronously, @@ -28564,9 +26982,7 @@ def replace_namespaced_service_status(self, name, namespace, body, **kwargs): def replace_namespaced_service_status_with_http_info(self, name, namespace, body, **kwargs): """ - replace status of the specified Service - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -28579,7 +26995,7 @@ def replace_namespaced_service_status_with_http_info(self, name, namespace, body for asynchronous request. (optional) :param str name: name of the Service (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1Service body: (required) + :param V1Service body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Service If the method is called asynchronously, @@ -28633,12 +27049,9 @@ def replace_namespaced_service_status_with_http_info(self, name, namespace, body body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -28648,25 +27061,23 @@ def replace_namespaced_service_status_with_http_info(self, name, namespace, body auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Service', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Service', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_node(self, name, body, **kwargs): """ - replace the specified Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -28678,7 +27089,7 @@ def replace_node(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Node (required) - :param V1Node body: (required) + :param V1Node body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Node If the method is called asynchronously, @@ -28693,9 +27104,7 @@ def replace_node(self, name, body, **kwargs): def replace_node_with_http_info(self, name, body, **kwargs): """ - replace the specified Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -28707,7 +27116,7 @@ def replace_node_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Node (required) - :param V1Node body: (required) + :param V1Node body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Node If the method is called asynchronously, @@ -28756,12 +27165,9 @@ def replace_node_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -28771,25 +27177,23 @@ def replace_node_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Node', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Node', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_node_status(self, name, body, **kwargs): """ - replace status of the specified Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -28801,7 +27205,7 @@ def replace_node_status(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Node (required) - :param V1Node body: (required) + :param V1Node body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Node If the method is called asynchronously, @@ -28816,9 +27220,7 @@ def replace_node_status(self, name, body, **kwargs): def replace_node_status_with_http_info(self, name, body, **kwargs): """ - replace status of the specified Node - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -28830,7 +27232,7 @@ def replace_node_status_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the Node (required) - :param V1Node body: (required) + :param V1Node body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1Node If the method is called asynchronously, @@ -28879,12 +27281,9 @@ def replace_node_status_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -28894,25 +27293,23 @@ def replace_node_status_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1Node', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1Node', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_persistent_volume(self, name, body, **kwargs): """ - replace the specified PersistentVolume - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -28924,7 +27321,7 @@ def replace_persistent_volume(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the PersistentVolume (required) - :param V1PersistentVolume body: (required) + :param V1PersistentVolume body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PersistentVolume If the method is called asynchronously, @@ -28939,9 +27336,7 @@ def replace_persistent_volume(self, name, body, **kwargs): def replace_persistent_volume_with_http_info(self, name, body, **kwargs): """ - replace the specified PersistentVolume - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -28953,7 +27348,7 @@ def replace_persistent_volume_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the PersistentVolume (required) - :param V1PersistentVolume body: (required) + :param V1PersistentVolume body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PersistentVolume If the method is called asynchronously, @@ -29002,12 +27397,9 @@ def replace_persistent_volume_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -29017,25 +27409,23 @@ def replace_persistent_volume_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PersistentVolume', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1PersistentVolume', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_persistent_volume_status(self, name, body, **kwargs): """ - replace status of the specified PersistentVolume - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -29047,7 +27437,7 @@ def replace_persistent_volume_status(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the PersistentVolume (required) - :param V1PersistentVolume body: (required) + :param V1PersistentVolume body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PersistentVolume If the method is called asynchronously, @@ -29062,9 +27452,7 @@ def replace_persistent_volume_status(self, name, body, **kwargs): def replace_persistent_volume_status_with_http_info(self, name, body, **kwargs): """ - replace status of the specified PersistentVolume - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -29076,7 +27464,7 @@ def replace_persistent_volume_status_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the PersistentVolume (required) - :param V1PersistentVolume body: (required) + :param V1PersistentVolume body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1PersistentVolume If the method is called asynchronously, @@ -29125,12 +27513,9 @@ def replace_persistent_volume_status_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -29140,16 +27525,16 @@ def replace_persistent_volume_status_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1PersistentVolume', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1PersistentVolume', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/extensions_api.py b/kubernetes/client/apis/extensions_api.py index cc6add7557..7c902569ed 100644 --- a/kubernetes/client/apis/extensions_api.py +++ b/kubernetes/client/apis/extensions_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,7 @@ def __init__(self, api_client=None): def get_api_group(self, **kwargs): """ - get information of a group - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -79,9 +66,7 @@ def get_api_group(self, **kwargs): def get_api_group_with_http_info(self, **kwargs): """ - get information of a group - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -113,7 +98,6 @@ def get_api_group_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/apis/extensions/'.replace('{format}', 'json') @@ -127,12 +111,9 @@ def get_api_group_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -142,16 +123,16 @@ def get_api_group_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedAPIGroup', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedAPIGroup', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/extensions_v1beta1_api.py b/kubernetes/client/apis/extensions_v1beta1_api.py index 9548e1ecc2..8a975e0e7b 100644 --- a/kubernetes/client/apis/extensions_v1beta1_api.py +++ b/kubernetes/client/apis/extensions_v1beta1_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,7 @@ def __init__(self, api_client=None): def create_namespaced_daemon_set(self, namespace, body, **kwargs): """ - create a DaemonSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -67,7 +54,7 @@ def create_namespaced_daemon_set(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1DaemonSet body: (required) + :param V1beta1DaemonSet body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1DaemonSet If the method is called asynchronously, @@ -82,9 +69,7 @@ def create_namespaced_daemon_set(self, namespace, body, **kwargs): def create_namespaced_daemon_set_with_http_info(self, namespace, body, **kwargs): """ - create a DaemonSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -96,7 +81,7 @@ def create_namespaced_daemon_set_with_http_info(self, namespace, body, **kwargs) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1DaemonSet body: (required) + :param V1beta1DaemonSet body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1DaemonSet If the method is called asynchronously, @@ -145,12 +130,9 @@ def create_namespaced_daemon_set_with_http_info(self, namespace, body, **kwargs) body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -160,25 +142,23 @@ def create_namespaced_daemon_set_with_http_info(self, namespace, body, **kwargs) auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1DaemonSet', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1DaemonSet', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_deployment(self, namespace, body, **kwargs): """ - create a Deployment - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -190,7 +170,7 @@ def create_namespaced_deployment(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Deployment body: (required) + :param V1beta1Deployment body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Deployment If the method is called asynchronously, @@ -205,9 +185,7 @@ def create_namespaced_deployment(self, namespace, body, **kwargs): def create_namespaced_deployment_with_http_info(self, namespace, body, **kwargs): """ - create a Deployment - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -219,7 +197,7 @@ def create_namespaced_deployment_with_http_info(self, namespace, body, **kwargs) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Deployment body: (required) + :param V1beta1Deployment body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Deployment If the method is called asynchronously, @@ -268,12 +246,9 @@ def create_namespaced_deployment_with_http_info(self, namespace, body, **kwargs) body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -283,25 +258,23 @@ def create_namespaced_deployment_with_http_info(self, namespace, body, **kwargs) auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Deployment', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Deployment', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_deployment_rollback_rollback(self, body, name, namespace, **kwargs): """ - create rollback of a DeploymentRollback - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -312,7 +285,7 @@ def create_namespaced_deployment_rollback_rollback(self, body, name, namespace, :param callback function: The callback function for asynchronous request. (optional) - :param V1beta1DeploymentRollback body: (required) + :param V1beta1DeploymentRollback body: (required) :param str name: name of the DeploymentRollback (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. @@ -329,9 +302,7 @@ def create_namespaced_deployment_rollback_rollback(self, body, name, namespace, def create_namespaced_deployment_rollback_rollback_with_http_info(self, body, name, namespace, **kwargs): """ - create rollback of a DeploymentRollback - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -342,7 +313,7 @@ def create_namespaced_deployment_rollback_rollback_with_http_info(self, body, na :param callback function: The callback function for asynchronous request. (optional) - :param V1beta1DeploymentRollback body: (required) + :param V1beta1DeploymentRollback body: (required) :param str name: name of the DeploymentRollback (required) :param str namespace: object name and auth scope, such as for teams and projects (required) :param str pretty: If 'true', then the output is pretty printed. @@ -398,12 +369,9 @@ def create_namespaced_deployment_rollback_rollback_with_http_info(self, body, na body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -413,25 +381,23 @@ def create_namespaced_deployment_rollback_rollback_with_http_info(self, body, na auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1DeploymentRollback', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1DeploymentRollback', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_horizontal_pod_autoscaler(self, namespace, body, **kwargs): """ - create a HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -443,7 +409,7 @@ def create_namespaced_horizontal_pod_autoscaler(self, namespace, body, **kwargs) :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1HorizontalPodAutoscaler body: (required) + :param V1beta1HorizontalPodAutoscaler body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1HorizontalPodAutoscaler If the method is called asynchronously, @@ -458,9 +424,7 @@ def create_namespaced_horizontal_pod_autoscaler(self, namespace, body, **kwargs) def create_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, body, **kwargs): """ - create a HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -472,7 +436,7 @@ def create_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1HorizontalPodAutoscaler body: (required) + :param V1beta1HorizontalPodAutoscaler body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1HorizontalPodAutoscaler If the method is called asynchronously, @@ -521,12 +485,9 @@ def create_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -536,25 +497,23 @@ def create_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1HorizontalPodAutoscaler', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1HorizontalPodAutoscaler', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_ingress(self, namespace, body, **kwargs): """ - create an Ingress - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -566,7 +525,7 @@ def create_namespaced_ingress(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Ingress body: (required) + :param V1beta1Ingress body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Ingress If the method is called asynchronously, @@ -581,9 +540,7 @@ def create_namespaced_ingress(self, namespace, body, **kwargs): def create_namespaced_ingress_with_http_info(self, namespace, body, **kwargs): """ - create an Ingress - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -595,7 +552,7 @@ def create_namespaced_ingress_with_http_info(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Ingress body: (required) + :param V1beta1Ingress body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Ingress If the method is called asynchronously, @@ -644,12 +601,9 @@ def create_namespaced_ingress_with_http_info(self, namespace, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -659,25 +613,23 @@ def create_namespaced_ingress_with_http_info(self, namespace, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Ingress', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Ingress', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_job(self, namespace, body, **kwargs): """ - create a Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -689,7 +641,7 @@ def create_namespaced_job(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Job body: (required) + :param V1beta1Job body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Job If the method is called asynchronously, @@ -704,9 +656,7 @@ def create_namespaced_job(self, namespace, body, **kwargs): def create_namespaced_job_with_http_info(self, namespace, body, **kwargs): """ - create a Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -718,7 +668,7 @@ def create_namespaced_job_with_http_info(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Job body: (required) + :param V1beta1Job body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Job If the method is called asynchronously, @@ -767,12 +717,9 @@ def create_namespaced_job_with_http_info(self, namespace, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -782,25 +729,23 @@ def create_namespaced_job_with_http_info(self, namespace, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Job', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Job', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_network_policy(self, namespace, body, **kwargs): """ - create a NetworkPolicy - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -812,7 +757,7 @@ def create_namespaced_network_policy(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1NetworkPolicy body: (required) + :param V1beta1NetworkPolicy body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1NetworkPolicy If the method is called asynchronously, @@ -827,9 +772,7 @@ def create_namespaced_network_policy(self, namespace, body, **kwargs): def create_namespaced_network_policy_with_http_info(self, namespace, body, **kwargs): """ - create a NetworkPolicy - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -841,7 +784,7 @@ def create_namespaced_network_policy_with_http_info(self, namespace, body, **kwa :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1NetworkPolicy body: (required) + :param V1beta1NetworkPolicy body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1NetworkPolicy If the method is called asynchronously, @@ -890,12 +833,9 @@ def create_namespaced_network_policy_with_http_info(self, namespace, body, **kwa body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -905,25 +845,23 @@ def create_namespaced_network_policy_with_http_info(self, namespace, body, **kwa auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1NetworkPolicy', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1NetworkPolicy', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_replica_set(self, namespace, body, **kwargs): """ - create a ReplicaSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -935,7 +873,7 @@ def create_namespaced_replica_set(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1ReplicaSet body: (required) + :param V1beta1ReplicaSet body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1ReplicaSet If the method is called asynchronously, @@ -950,9 +888,7 @@ def create_namespaced_replica_set(self, namespace, body, **kwargs): def create_namespaced_replica_set_with_http_info(self, namespace, body, **kwargs): """ - create a ReplicaSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -964,7 +900,7 @@ def create_namespaced_replica_set_with_http_info(self, namespace, body, **kwargs :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1ReplicaSet body: (required) + :param V1beta1ReplicaSet body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1ReplicaSet If the method is called asynchronously, @@ -1013,12 +949,9 @@ def create_namespaced_replica_set_with_http_info(self, namespace, body, **kwargs body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1028,25 +961,23 @@ def create_namespaced_replica_set_with_http_info(self, namespace, body, **kwargs auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1ReplicaSet', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1ReplicaSet', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_third_party_resource(self, body, **kwargs): """ - create a ThirdPartyResource - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1057,7 +988,7 @@ def create_third_party_resource(self, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1beta1ThirdPartyResource body: (required) + :param V1beta1ThirdPartyResource body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1ThirdPartyResource If the method is called asynchronously, @@ -1072,9 +1003,7 @@ def create_third_party_resource(self, body, **kwargs): def create_third_party_resource_with_http_info(self, body, **kwargs): """ - create a ThirdPartyResource - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1085,7 +1014,7 @@ def create_third_party_resource_with_http_info(self, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1beta1ThirdPartyResource body: (required) + :param V1beta1ThirdPartyResource body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1ThirdPartyResource If the method is called asynchronously, @@ -1129,12 +1058,9 @@ def create_third_party_resource_with_http_info(self, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1144,25 +1070,23 @@ def create_third_party_resource_with_http_info(self, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1ThirdPartyResource', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1ThirdPartyResource', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_daemon_set(self, namespace, **kwargs): """ - delete collection of DaemonSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1193,9 +1117,7 @@ def delete_collection_namespaced_daemon_set(self, namespace, **kwargs): def delete_collection_namespaced_daemon_set_with_http_info(self, namespace, **kwargs): """ - delete collection of DaemonSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1265,12 +1187,9 @@ def delete_collection_namespaced_daemon_set_with_http_info(self, namespace, **kw local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1280,25 +1199,23 @@ def delete_collection_namespaced_daemon_set_with_http_info(self, namespace, **kw auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_deployment(self, namespace, **kwargs): """ - delete collection of Deployment - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1329,9 +1246,7 @@ def delete_collection_namespaced_deployment(self, namespace, **kwargs): def delete_collection_namespaced_deployment_with_http_info(self, namespace, **kwargs): """ - delete collection of Deployment - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1401,12 +1316,9 @@ def delete_collection_namespaced_deployment_with_http_info(self, namespace, **kw local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1416,25 +1328,23 @@ def delete_collection_namespaced_deployment_with_http_info(self, namespace, **kw auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_horizontal_pod_autoscaler(self, namespace, **kwargs): """ - delete collection of HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1465,9 +1375,7 @@ def delete_collection_namespaced_horizontal_pod_autoscaler(self, namespace, **kw def delete_collection_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, **kwargs): """ - delete collection of HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1537,12 +1445,9 @@ def delete_collection_namespaced_horizontal_pod_autoscaler_with_http_info(self, local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1552,25 +1457,23 @@ def delete_collection_namespaced_horizontal_pod_autoscaler_with_http_info(self, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_ingress(self, namespace, **kwargs): """ - delete collection of Ingress - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1601,9 +1504,7 @@ def delete_collection_namespaced_ingress(self, namespace, **kwargs): def delete_collection_namespaced_ingress_with_http_info(self, namespace, **kwargs): """ - delete collection of Ingress - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1673,12 +1574,9 @@ def delete_collection_namespaced_ingress_with_http_info(self, namespace, **kwarg local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1688,25 +1586,23 @@ def delete_collection_namespaced_ingress_with_http_info(self, namespace, **kwarg auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_job(self, namespace, **kwargs): """ - delete collection of Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1737,9 +1633,7 @@ def delete_collection_namespaced_job(self, namespace, **kwargs): def delete_collection_namespaced_job_with_http_info(self, namespace, **kwargs): """ - delete collection of Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1809,12 +1703,9 @@ def delete_collection_namespaced_job_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1824,25 +1715,23 @@ def delete_collection_namespaced_job_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_network_policy(self, namespace, **kwargs): """ - delete collection of NetworkPolicy - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1873,9 +1762,7 @@ def delete_collection_namespaced_network_policy(self, namespace, **kwargs): def delete_collection_namespaced_network_policy_with_http_info(self, namespace, **kwargs): """ - delete collection of NetworkPolicy - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1945,12 +1832,9 @@ def delete_collection_namespaced_network_policy_with_http_info(self, namespace, local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1960,25 +1844,23 @@ def delete_collection_namespaced_network_policy_with_http_info(self, namespace, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_replica_set(self, namespace, **kwargs): """ - delete collection of ReplicaSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2009,9 +1891,7 @@ def delete_collection_namespaced_replica_set(self, namespace, **kwargs): def delete_collection_namespaced_replica_set_with_http_info(self, namespace, **kwargs): """ - delete collection of ReplicaSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2081,12 +1961,9 @@ def delete_collection_namespaced_replica_set_with_http_info(self, namespace, **k local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2096,25 +1973,23 @@ def delete_collection_namespaced_replica_set_with_http_info(self, namespace, **k auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_third_party_resource(self, **kwargs): """ - delete collection of ThirdPartyResource - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2144,9 +2019,7 @@ def delete_collection_third_party_resource(self, **kwargs): def delete_collection_third_party_resource_with_http_info(self, **kwargs): """ - delete collection of ThirdPartyResource - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2210,12 +2083,9 @@ def delete_collection_third_party_resource_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2225,25 +2095,23 @@ def delete_collection_third_party_resource_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_daemon_set(self, name, namespace, body, **kwargs): """ - delete a DaemonSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2256,7 +2124,7 @@ def delete_namespaced_daemon_set(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the DaemonSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -2273,9 +2141,7 @@ def delete_namespaced_daemon_set(self, name, namespace, body, **kwargs): def delete_namespaced_daemon_set_with_http_info(self, name, namespace, body, **kwargs): """ - delete a DaemonSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2288,7 +2154,7 @@ def delete_namespaced_daemon_set_with_http_info(self, name, namespace, body, **k for asynchronous request. (optional) :param str name: name of the DaemonSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -2348,12 +2214,9 @@ def delete_namespaced_daemon_set_with_http_info(self, name, namespace, body, **k body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2363,25 +2226,23 @@ def delete_namespaced_daemon_set_with_http_info(self, name, namespace, body, **k auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_deployment(self, name, namespace, body, **kwargs): """ - delete a Deployment - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2394,7 +2255,7 @@ def delete_namespaced_deployment(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -2411,9 +2272,7 @@ def delete_namespaced_deployment(self, name, namespace, body, **kwargs): def delete_namespaced_deployment_with_http_info(self, name, namespace, body, **kwargs): """ - delete a Deployment - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2426,7 +2285,7 @@ def delete_namespaced_deployment_with_http_info(self, name, namespace, body, **k for asynchronous request. (optional) :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -2486,12 +2345,9 @@ def delete_namespaced_deployment_with_http_info(self, name, namespace, body, **k body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2501,25 +2357,23 @@ def delete_namespaced_deployment_with_http_info(self, name, namespace, body, **k auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, **kwargs): """ - delete a HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2532,7 +2386,7 @@ def delete_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, **k for asynchronous request. (optional) :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -2549,9 +2403,7 @@ def delete_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, **k def delete_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namespace, body, **kwargs): """ - delete a HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2564,7 +2416,7 @@ def delete_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, names for asynchronous request. (optional) :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -2624,12 +2476,9 @@ def delete_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, names body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2639,25 +2488,23 @@ def delete_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, names auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_ingress(self, name, namespace, body, **kwargs): """ - delete an Ingress - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2670,7 +2517,7 @@ def delete_namespaced_ingress(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Ingress (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -2687,9 +2534,7 @@ def delete_namespaced_ingress(self, name, namespace, body, **kwargs): def delete_namespaced_ingress_with_http_info(self, name, namespace, body, **kwargs): """ - delete an Ingress - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2702,7 +2547,7 @@ def delete_namespaced_ingress_with_http_info(self, name, namespace, body, **kwar for asynchronous request. (optional) :param str name: name of the Ingress (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -2762,12 +2607,9 @@ def delete_namespaced_ingress_with_http_info(self, name, namespace, body, **kwar body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2777,25 +2619,23 @@ def delete_namespaced_ingress_with_http_info(self, name, namespace, body, **kwar auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_job(self, name, namespace, body, **kwargs): """ - delete a Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2808,7 +2648,7 @@ def delete_namespaced_job(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -2825,9 +2665,7 @@ def delete_namespaced_job(self, name, namespace, body, **kwargs): def delete_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): """ - delete a Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2840,7 +2678,7 @@ def delete_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -2900,12 +2738,9 @@ def delete_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2915,25 +2750,23 @@ def delete_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_network_policy(self, name, namespace, body, **kwargs): """ - delete a NetworkPolicy - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2946,7 +2779,7 @@ def delete_namespaced_network_policy(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the NetworkPolicy (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -2963,9 +2796,7 @@ def delete_namespaced_network_policy(self, name, namespace, body, **kwargs): def delete_namespaced_network_policy_with_http_info(self, name, namespace, body, **kwargs): """ - delete a NetworkPolicy - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2978,7 +2809,7 @@ def delete_namespaced_network_policy_with_http_info(self, name, namespace, body, for asynchronous request. (optional) :param str name: name of the NetworkPolicy (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -3038,12 +2869,9 @@ def delete_namespaced_network_policy_with_http_info(self, name, namespace, body, body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3053,25 +2881,23 @@ def delete_namespaced_network_policy_with_http_info(self, name, namespace, body, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_replica_set(self, name, namespace, body, **kwargs): """ - delete a ReplicaSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3084,7 +2910,7 @@ def delete_namespaced_replica_set(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the ReplicaSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -3101,9 +2927,7 @@ def delete_namespaced_replica_set(self, name, namespace, body, **kwargs): def delete_namespaced_replica_set_with_http_info(self, name, namespace, body, **kwargs): """ - delete a ReplicaSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3116,7 +2940,7 @@ def delete_namespaced_replica_set_with_http_info(self, name, namespace, body, ** for asynchronous request. (optional) :param str name: name of the ReplicaSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -3176,12 +3000,9 @@ def delete_namespaced_replica_set_with_http_info(self, name, namespace, body, ** body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3191,25 +3012,23 @@ def delete_namespaced_replica_set_with_http_info(self, name, namespace, body, ** auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_third_party_resource(self, name, body, **kwargs): """ - delete a ThirdPartyResource - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3221,7 +3040,7 @@ def delete_third_party_resource(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ThirdPartyResource (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -3238,9 +3057,7 @@ def delete_third_party_resource(self, name, body, **kwargs): def delete_third_party_resource_with_http_info(self, name, body, **kwargs): """ - delete a ThirdPartyResource - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3252,7 +3069,7 @@ def delete_third_party_resource_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ThirdPartyResource (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -3307,12 +3124,9 @@ def delete_third_party_resource_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3322,25 +3136,23 @@ def delete_third_party_resource_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def get_api_resources(self, **kwargs): """ - get available resources - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3364,9 +3176,7 @@ def get_api_resources(self, **kwargs): def get_api_resources_with_http_info(self, **kwargs): """ - get available resources - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3398,7 +3208,6 @@ def get_api_resources_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/apis/extensions/v1beta1/'.replace('{format}', 'json') @@ -3412,12 +3221,9 @@ def get_api_resources_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3427,25 +3233,23 @@ def get_api_resources_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedAPIResourceList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedAPIResourceList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_daemon_set_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind DaemonSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3475,9 +3279,7 @@ def list_daemon_set_for_all_namespaces(self, **kwargs): def list_daemon_set_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind DaemonSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3541,12 +3343,9 @@ def list_daemon_set_for_all_namespaces_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3556,25 +3355,23 @@ def list_daemon_set_for_all_namespaces_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1DaemonSetList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1DaemonSetList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_deployment_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind Deployment - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3604,9 +3401,7 @@ def list_deployment_for_all_namespaces(self, **kwargs): def list_deployment_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind Deployment - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3670,12 +3465,9 @@ def list_deployment_for_all_namespaces_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3685,25 +3477,23 @@ def list_deployment_for_all_namespaces_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1DeploymentList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1DeploymentList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_horizontal_pod_autoscaler_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3733,9 +3523,7 @@ def list_horizontal_pod_autoscaler_for_all_namespaces(self, **kwargs): def list_horizontal_pod_autoscaler_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3799,12 +3587,9 @@ def list_horizontal_pod_autoscaler_for_all_namespaces_with_http_info(self, **kwa local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3814,25 +3599,23 @@ def list_horizontal_pod_autoscaler_for_all_namespaces_with_http_info(self, **kwa auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1HorizontalPodAutoscalerList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1HorizontalPodAutoscalerList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_ingress_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind Ingress - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3862,9 +3645,7 @@ def list_ingress_for_all_namespaces(self, **kwargs): def list_ingress_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind Ingress - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3928,12 +3709,9 @@ def list_ingress_for_all_namespaces_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3943,25 +3721,23 @@ def list_ingress_for_all_namespaces_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1IngressList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1IngressList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_job_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3991,9 +3767,7 @@ def list_job_for_all_namespaces(self, **kwargs): def list_job_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4057,12 +3831,9 @@ def list_job_for_all_namespaces_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -4072,25 +3843,23 @@ def list_job_for_all_namespaces_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1JobList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1JobList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_daemon_set(self, namespace, **kwargs): """ - list or watch objects of kind DaemonSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4121,9 +3890,7 @@ def list_namespaced_daemon_set(self, namespace, **kwargs): def list_namespaced_daemon_set_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind DaemonSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4193,12 +3960,9 @@ def list_namespaced_daemon_set_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -4208,25 +3972,23 @@ def list_namespaced_daemon_set_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1DaemonSetList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1DaemonSetList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_deployment(self, namespace, **kwargs): """ - list or watch objects of kind Deployment - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4257,9 +4019,7 @@ def list_namespaced_deployment(self, namespace, **kwargs): def list_namespaced_deployment_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind Deployment - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4329,12 +4089,9 @@ def list_namespaced_deployment_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -4344,25 +4101,23 @@ def list_namespaced_deployment_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1DeploymentList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1DeploymentList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_horizontal_pod_autoscaler(self, namespace, **kwargs): """ - list or watch objects of kind HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4393,9 +4148,7 @@ def list_namespaced_horizontal_pod_autoscaler(self, namespace, **kwargs): def list_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4465,12 +4218,9 @@ def list_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, ** local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -4480,25 +4230,23 @@ def list_namespaced_horizontal_pod_autoscaler_with_http_info(self, namespace, ** auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1HorizontalPodAutoscalerList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1HorizontalPodAutoscalerList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_ingress(self, namespace, **kwargs): """ - list or watch objects of kind Ingress - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4529,9 +4277,7 @@ def list_namespaced_ingress(self, namespace, **kwargs): def list_namespaced_ingress_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind Ingress - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4601,12 +4347,9 @@ def list_namespaced_ingress_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -4616,25 +4359,23 @@ def list_namespaced_ingress_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1IngressList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1IngressList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_job(self, namespace, **kwargs): """ - list or watch objects of kind Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4665,9 +4406,7 @@ def list_namespaced_job(self, namespace, **kwargs): def list_namespaced_job_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4737,12 +4476,9 @@ def list_namespaced_job_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -4752,25 +4488,23 @@ def list_namespaced_job_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1JobList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1JobList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_network_policy(self, namespace, **kwargs): """ - list or watch objects of kind NetworkPolicy - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4801,9 +4535,7 @@ def list_namespaced_network_policy(self, namespace, **kwargs): def list_namespaced_network_policy_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind NetworkPolicy - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4873,12 +4605,9 @@ def list_namespaced_network_policy_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -4888,25 +4617,23 @@ def list_namespaced_network_policy_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1NetworkPolicyList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1NetworkPolicyList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_replica_set(self, namespace, **kwargs): """ - list or watch objects of kind ReplicaSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -4937,9 +4664,7 @@ def list_namespaced_replica_set(self, namespace, **kwargs): def list_namespaced_replica_set_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind ReplicaSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5009,12 +4734,9 @@ def list_namespaced_replica_set_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -5024,25 +4746,23 @@ def list_namespaced_replica_set_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1ReplicaSetList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1ReplicaSetList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_network_policy_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind NetworkPolicy - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5072,9 +4792,7 @@ def list_network_policy_for_all_namespaces(self, **kwargs): def list_network_policy_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind NetworkPolicy - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5138,12 +4856,9 @@ def list_network_policy_for_all_namespaces_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -5153,25 +4868,23 @@ def list_network_policy_for_all_namespaces_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1NetworkPolicyList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1NetworkPolicyList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_replica_set_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind ReplicaSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5201,9 +4914,7 @@ def list_replica_set_for_all_namespaces(self, **kwargs): def list_replica_set_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind ReplicaSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5267,12 +4978,9 @@ def list_replica_set_for_all_namespaces_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -5282,25 +4990,23 @@ def list_replica_set_for_all_namespaces_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1ReplicaSetList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1ReplicaSetList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_third_party_resource(self, **kwargs): """ - list or watch objects of kind ThirdPartyResource - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5330,9 +5036,7 @@ def list_third_party_resource(self, **kwargs): def list_third_party_resource_with_http_info(self, **kwargs): """ - list or watch objects of kind ThirdPartyResource - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5396,12 +5100,9 @@ def list_third_party_resource_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -5411,25 +5112,23 @@ def list_third_party_resource_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1ThirdPartyResourceList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1ThirdPartyResourceList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_daemon_set(self, name, namespace, body, **kwargs): """ - partially update the specified DaemonSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5442,7 +5141,7 @@ def patch_namespaced_daemon_set(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the DaemonSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1DaemonSet If the method is called asynchronously, @@ -5457,9 +5156,7 @@ def patch_namespaced_daemon_set(self, name, namespace, body, **kwargs): def patch_namespaced_daemon_set_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified DaemonSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5472,7 +5169,7 @@ def patch_namespaced_daemon_set_with_http_info(self, name, namespace, body, **kw for asynchronous request. (optional) :param str name: name of the DaemonSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1DaemonSet If the method is called asynchronously, @@ -5526,12 +5223,9 @@ def patch_namespaced_daemon_set_with_http_info(self, name, namespace, body, **kw body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -5541,25 +5235,23 @@ def patch_namespaced_daemon_set_with_http_info(self, name, namespace, body, **kw auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1DaemonSet', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1DaemonSet', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_daemon_set_status(self, name, namespace, body, **kwargs): """ - partially update status of the specified DaemonSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5572,7 +5264,7 @@ def patch_namespaced_daemon_set_status(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the DaemonSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1DaemonSet If the method is called asynchronously, @@ -5587,9 +5279,7 @@ def patch_namespaced_daemon_set_status(self, name, namespace, body, **kwargs): def patch_namespaced_daemon_set_status_with_http_info(self, name, namespace, body, **kwargs): """ - partially update status of the specified DaemonSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5602,7 +5292,7 @@ def patch_namespaced_daemon_set_status_with_http_info(self, name, namespace, bod for asynchronous request. (optional) :param str name: name of the DaemonSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1DaemonSet If the method is called asynchronously, @@ -5656,12 +5346,9 @@ def patch_namespaced_daemon_set_status_with_http_info(self, name, namespace, bod body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -5671,25 +5358,23 @@ def patch_namespaced_daemon_set_status_with_http_info(self, name, namespace, bod auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1DaemonSet', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1DaemonSet', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_deployment(self, name, namespace, body, **kwargs): """ - partially update the specified Deployment - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5702,7 +5387,7 @@ def patch_namespaced_deployment(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Deployment If the method is called asynchronously, @@ -5717,9 +5402,7 @@ def patch_namespaced_deployment(self, name, namespace, body, **kwargs): def patch_namespaced_deployment_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified Deployment - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5732,7 +5415,7 @@ def patch_namespaced_deployment_with_http_info(self, name, namespace, body, **kw for asynchronous request. (optional) :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Deployment If the method is called asynchronously, @@ -5786,12 +5469,9 @@ def patch_namespaced_deployment_with_http_info(self, name, namespace, body, **kw body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -5801,25 +5481,23 @@ def patch_namespaced_deployment_with_http_info(self, name, namespace, body, **kw auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Deployment', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Deployment', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_deployment_status(self, name, namespace, body, **kwargs): """ - partially update status of the specified Deployment - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5832,7 +5510,7 @@ def patch_namespaced_deployment_status(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Deployment If the method is called asynchronously, @@ -5847,9 +5525,7 @@ def patch_namespaced_deployment_status(self, name, namespace, body, **kwargs): def patch_namespaced_deployment_status_with_http_info(self, name, namespace, body, **kwargs): """ - partially update status of the specified Deployment - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5862,7 +5538,7 @@ def patch_namespaced_deployment_status_with_http_info(self, name, namespace, bod for asynchronous request. (optional) :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Deployment If the method is called asynchronously, @@ -5916,12 +5592,9 @@ def patch_namespaced_deployment_status_with_http_info(self, name, namespace, bod body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -5931,25 +5604,23 @@ def patch_namespaced_deployment_status_with_http_info(self, name, namespace, bod auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Deployment', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Deployment', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_deployments_scale(self, name, namespace, body, **kwargs): """ - partially update scale of the specified Scale - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5962,7 +5633,7 @@ def patch_namespaced_deployments_scale(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Scale If the method is called asynchronously, @@ -5977,9 +5648,7 @@ def patch_namespaced_deployments_scale(self, name, namespace, body, **kwargs): def patch_namespaced_deployments_scale_with_http_info(self, name, namespace, body, **kwargs): """ - partially update scale of the specified Scale - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -5992,7 +5661,7 @@ def patch_namespaced_deployments_scale_with_http_info(self, name, namespace, bod for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Scale If the method is called asynchronously, @@ -6046,12 +5715,9 @@ def patch_namespaced_deployments_scale_with_http_info(self, name, namespace, bod body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -6061,25 +5727,23 @@ def patch_namespaced_deployments_scale_with_http_info(self, name, namespace, bod auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Scale', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Scale', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, **kwargs): """ - partially update the specified HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6092,7 +5756,7 @@ def patch_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, **kw for asynchronous request. (optional) :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1HorizontalPodAutoscaler If the method is called asynchronously, @@ -6107,9 +5771,7 @@ def patch_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, **kw def patch_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6122,7 +5784,7 @@ def patch_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namesp for asynchronous request. (optional) :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1HorizontalPodAutoscaler If the method is called asynchronously, @@ -6176,12 +5838,9 @@ def patch_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namesp body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -6191,25 +5850,23 @@ def patch_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namesp auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1HorizontalPodAutoscaler', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1HorizontalPodAutoscaler', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_horizontal_pod_autoscaler_status(self, name, namespace, body, **kwargs): """ - partially update status of the specified HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6222,7 +5879,7 @@ def patch_namespaced_horizontal_pod_autoscaler_status(self, name, namespace, bod for asynchronous request. (optional) :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1HorizontalPodAutoscaler If the method is called asynchronously, @@ -6237,9 +5894,7 @@ def patch_namespaced_horizontal_pod_autoscaler_status(self, name, namespace, bod def patch_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name, namespace, body, **kwargs): """ - partially update status of the specified HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6252,7 +5907,7 @@ def patch_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name, for asynchronous request. (optional) :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1HorizontalPodAutoscaler If the method is called asynchronously, @@ -6306,12 +5961,9 @@ def patch_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name, body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -6321,25 +5973,23 @@ def patch_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1HorizontalPodAutoscaler', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1HorizontalPodAutoscaler', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_ingress(self, name, namespace, body, **kwargs): """ - partially update the specified Ingress - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6352,7 +6002,7 @@ def patch_namespaced_ingress(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Ingress (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Ingress If the method is called asynchronously, @@ -6367,9 +6017,7 @@ def patch_namespaced_ingress(self, name, namespace, body, **kwargs): def patch_namespaced_ingress_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified Ingress - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6382,7 +6030,7 @@ def patch_namespaced_ingress_with_http_info(self, name, namespace, body, **kwarg for asynchronous request. (optional) :param str name: name of the Ingress (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Ingress If the method is called asynchronously, @@ -6436,12 +6084,9 @@ def patch_namespaced_ingress_with_http_info(self, name, namespace, body, **kwarg body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -6451,25 +6096,23 @@ def patch_namespaced_ingress_with_http_info(self, name, namespace, body, **kwarg auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Ingress', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Ingress', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_ingress_status(self, name, namespace, body, **kwargs): """ - partially update status of the specified Ingress - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6482,7 +6125,7 @@ def patch_namespaced_ingress_status(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Ingress (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Ingress If the method is called asynchronously, @@ -6497,9 +6140,7 @@ def patch_namespaced_ingress_status(self, name, namespace, body, **kwargs): def patch_namespaced_ingress_status_with_http_info(self, name, namespace, body, **kwargs): """ - partially update status of the specified Ingress - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6512,7 +6153,7 @@ def patch_namespaced_ingress_status_with_http_info(self, name, namespace, body, for asynchronous request. (optional) :param str name: name of the Ingress (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Ingress If the method is called asynchronously, @@ -6566,12 +6207,9 @@ def patch_namespaced_ingress_status_with_http_info(self, name, namespace, body, body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -6581,25 +6219,23 @@ def patch_namespaced_ingress_status_with_http_info(self, name, namespace, body, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Ingress', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Ingress', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_job(self, name, namespace, body, **kwargs): """ - partially update the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6612,7 +6248,7 @@ def patch_namespaced_job(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Job If the method is called asynchronously, @@ -6627,9 +6263,7 @@ def patch_namespaced_job(self, name, namespace, body, **kwargs): def patch_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6642,7 +6276,7 @@ def patch_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Job If the method is called asynchronously, @@ -6696,12 +6330,9 @@ def patch_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -6711,25 +6342,23 @@ def patch_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Job', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Job', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_job_status(self, name, namespace, body, **kwargs): """ - partially update status of the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6742,7 +6371,7 @@ def patch_namespaced_job_status(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Job If the method is called asynchronously, @@ -6757,9 +6386,7 @@ def patch_namespaced_job_status(self, name, namespace, body, **kwargs): def patch_namespaced_job_status_with_http_info(self, name, namespace, body, **kwargs): """ - partially update status of the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6772,7 +6399,7 @@ def patch_namespaced_job_status_with_http_info(self, name, namespace, body, **kw for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Job If the method is called asynchronously, @@ -6826,12 +6453,9 @@ def patch_namespaced_job_status_with_http_info(self, name, namespace, body, **kw body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -6841,25 +6465,23 @@ def patch_namespaced_job_status_with_http_info(self, name, namespace, body, **kw auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Job', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Job', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_network_policy(self, name, namespace, body, **kwargs): """ - partially update the specified NetworkPolicy - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6872,7 +6494,7 @@ def patch_namespaced_network_policy(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the NetworkPolicy (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1NetworkPolicy If the method is called asynchronously, @@ -6887,9 +6509,7 @@ def patch_namespaced_network_policy(self, name, namespace, body, **kwargs): def patch_namespaced_network_policy_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified NetworkPolicy - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -6902,7 +6522,7 @@ def patch_namespaced_network_policy_with_http_info(self, name, namespace, body, for asynchronous request. (optional) :param str name: name of the NetworkPolicy (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1NetworkPolicy If the method is called asynchronously, @@ -6956,12 +6576,9 @@ def patch_namespaced_network_policy_with_http_info(self, name, namespace, body, body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -6971,25 +6588,23 @@ def patch_namespaced_network_policy_with_http_info(self, name, namespace, body, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1NetworkPolicy', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1NetworkPolicy', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_replica_set(self, name, namespace, body, **kwargs): """ - partially update the specified ReplicaSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7002,7 +6617,7 @@ def patch_namespaced_replica_set(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the ReplicaSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1ReplicaSet If the method is called asynchronously, @@ -7017,9 +6632,7 @@ def patch_namespaced_replica_set(self, name, namespace, body, **kwargs): def patch_namespaced_replica_set_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified ReplicaSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7032,7 +6645,7 @@ def patch_namespaced_replica_set_with_http_info(self, name, namespace, body, **k for asynchronous request. (optional) :param str name: name of the ReplicaSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1ReplicaSet If the method is called asynchronously, @@ -7086,12 +6699,9 @@ def patch_namespaced_replica_set_with_http_info(self, name, namespace, body, **k body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -7101,25 +6711,23 @@ def patch_namespaced_replica_set_with_http_info(self, name, namespace, body, **k auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1ReplicaSet', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1ReplicaSet', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_replica_set_status(self, name, namespace, body, **kwargs): """ - partially update status of the specified ReplicaSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7132,7 +6740,7 @@ def patch_namespaced_replica_set_status(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the ReplicaSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1ReplicaSet If the method is called asynchronously, @@ -7147,9 +6755,7 @@ def patch_namespaced_replica_set_status(self, name, namespace, body, **kwargs): def patch_namespaced_replica_set_status_with_http_info(self, name, namespace, body, **kwargs): """ - partially update status of the specified ReplicaSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7162,7 +6768,7 @@ def patch_namespaced_replica_set_status_with_http_info(self, name, namespace, bo for asynchronous request. (optional) :param str name: name of the ReplicaSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1ReplicaSet If the method is called asynchronously, @@ -7216,12 +6822,9 @@ def patch_namespaced_replica_set_status_with_http_info(self, name, namespace, bo body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -7231,25 +6834,23 @@ def patch_namespaced_replica_set_status_with_http_info(self, name, namespace, bo auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1ReplicaSet', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1ReplicaSet', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_replicasets_scale(self, name, namespace, body, **kwargs): """ - partially update scale of the specified Scale - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7262,7 +6863,7 @@ def patch_namespaced_replicasets_scale(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Scale If the method is called asynchronously, @@ -7277,9 +6878,7 @@ def patch_namespaced_replicasets_scale(self, name, namespace, body, **kwargs): def patch_namespaced_replicasets_scale_with_http_info(self, name, namespace, body, **kwargs): """ - partially update scale of the specified Scale - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7292,7 +6891,7 @@ def patch_namespaced_replicasets_scale_with_http_info(self, name, namespace, bod for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Scale If the method is called asynchronously, @@ -7346,12 +6945,9 @@ def patch_namespaced_replicasets_scale_with_http_info(self, name, namespace, bod body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -7361,25 +6957,23 @@ def patch_namespaced_replicasets_scale_with_http_info(self, name, namespace, bod auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Scale', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Scale', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_replicationcontrollers_scale(self, name, namespace, body, **kwargs): """ - partially update scale of the specified Scale - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7392,7 +6986,7 @@ def patch_namespaced_replicationcontrollers_scale(self, name, namespace, body, * for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Scale If the method is called asynchronously, @@ -7407,9 +7001,7 @@ def patch_namespaced_replicationcontrollers_scale(self, name, namespace, body, * def patch_namespaced_replicationcontrollers_scale_with_http_info(self, name, namespace, body, **kwargs): """ - partially update scale of the specified Scale - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7422,7 +7014,7 @@ def patch_namespaced_replicationcontrollers_scale_with_http_info(self, name, nam for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Scale If the method is called asynchronously, @@ -7476,12 +7068,9 @@ def patch_namespaced_replicationcontrollers_scale_with_http_info(self, name, nam body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -7491,25 +7080,23 @@ def patch_namespaced_replicationcontrollers_scale_with_http_info(self, name, nam auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Scale', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Scale', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_third_party_resource(self, name, body, **kwargs): """ - partially update the specified ThirdPartyResource - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7521,7 +7108,7 @@ def patch_third_party_resource(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ThirdPartyResource (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1ThirdPartyResource If the method is called asynchronously, @@ -7536,9 +7123,7 @@ def patch_third_party_resource(self, name, body, **kwargs): def patch_third_party_resource_with_http_info(self, name, body, **kwargs): """ - partially update the specified ThirdPartyResource - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7550,7 +7135,7 @@ def patch_third_party_resource_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ThirdPartyResource (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1ThirdPartyResource If the method is called asynchronously, @@ -7599,12 +7184,9 @@ def patch_third_party_resource_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -7614,25 +7196,23 @@ def patch_third_party_resource_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1ThirdPartyResource', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1ThirdPartyResource', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_daemon_set(self, name, namespace, **kwargs): """ - read the specified DaemonSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7661,9 +7241,7 @@ def read_namespaced_daemon_set(self, name, namespace, **kwargs): def read_namespaced_daemon_set_with_http_info(self, name, namespace, **kwargs): """ - read the specified DaemonSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7730,12 +7308,9 @@ def read_namespaced_daemon_set_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -7745,25 +7320,23 @@ def read_namespaced_daemon_set_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1DaemonSet', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1DaemonSet', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_daemon_set_status(self, name, namespace, **kwargs): """ - read status of the specified DaemonSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7790,9 +7363,7 @@ def read_namespaced_daemon_set_status(self, name, namespace, **kwargs): def read_namespaced_daemon_set_status_with_http_info(self, name, namespace, **kwargs): """ - read status of the specified DaemonSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7853,12 +7424,9 @@ def read_namespaced_daemon_set_status_with_http_info(self, name, namespace, **kw local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -7868,25 +7436,23 @@ def read_namespaced_daemon_set_status_with_http_info(self, name, namespace, **kw auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1DaemonSet', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1DaemonSet', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_deployment(self, name, namespace, **kwargs): """ - read the specified Deployment - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7915,9 +7481,7 @@ def read_namespaced_deployment(self, name, namespace, **kwargs): def read_namespaced_deployment_with_http_info(self, name, namespace, **kwargs): """ - read the specified Deployment - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -7984,12 +7548,9 @@ def read_namespaced_deployment_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -7999,25 +7560,23 @@ def read_namespaced_deployment_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Deployment', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Deployment', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_deployment_status(self, name, namespace, **kwargs): """ - read status of the specified Deployment - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8044,9 +7603,7 @@ def read_namespaced_deployment_status(self, name, namespace, **kwargs): def read_namespaced_deployment_status_with_http_info(self, name, namespace, **kwargs): """ - read status of the specified Deployment - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8107,12 +7664,9 @@ def read_namespaced_deployment_status_with_http_info(self, name, namespace, **kw local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -8122,25 +7676,23 @@ def read_namespaced_deployment_status_with_http_info(self, name, namespace, **kw auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Deployment', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Deployment', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_deployments_scale(self, name, namespace, **kwargs): """ - read scale of the specified Scale - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8167,9 +7719,7 @@ def read_namespaced_deployments_scale(self, name, namespace, **kwargs): def read_namespaced_deployments_scale_with_http_info(self, name, namespace, **kwargs): """ - read scale of the specified Scale - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8230,12 +7780,9 @@ def read_namespaced_deployments_scale_with_http_info(self, name, namespace, **kw local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -8245,25 +7792,23 @@ def read_namespaced_deployments_scale_with_http_info(self, name, namespace, **kw auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Scale', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Scale', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_horizontal_pod_autoscaler(self, name, namespace, **kwargs): """ - read the specified HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8292,9 +7837,7 @@ def read_namespaced_horizontal_pod_autoscaler(self, name, namespace, **kwargs): def read_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namespace, **kwargs): """ - read the specified HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8361,12 +7904,9 @@ def read_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namespa local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -8376,25 +7916,23 @@ def read_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namespa auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1HorizontalPodAutoscaler', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1HorizontalPodAutoscaler', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_horizontal_pod_autoscaler_status(self, name, namespace, **kwargs): """ - read status of the specified HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8421,9 +7959,7 @@ def read_namespaced_horizontal_pod_autoscaler_status(self, name, namespace, **kw def read_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name, namespace, **kwargs): """ - read status of the specified HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8484,12 +8020,9 @@ def read_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name, local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -8499,25 +8032,23 @@ def read_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1HorizontalPodAutoscaler', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1HorizontalPodAutoscaler', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_ingress(self, name, namespace, **kwargs): """ - read the specified Ingress - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8546,9 +8077,7 @@ def read_namespaced_ingress(self, name, namespace, **kwargs): def read_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): """ - read the specified Ingress - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8615,12 +8144,9 @@ def read_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -8630,25 +8156,23 @@ def read_namespaced_ingress_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Ingress', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Ingress', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_ingress_status(self, name, namespace, **kwargs): """ - read status of the specified Ingress - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8675,9 +8199,7 @@ def read_namespaced_ingress_status(self, name, namespace, **kwargs): def read_namespaced_ingress_status_with_http_info(self, name, namespace, **kwargs): """ - read status of the specified Ingress - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8738,12 +8260,9 @@ def read_namespaced_ingress_status_with_http_info(self, name, namespace, **kwarg local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -8753,25 +8272,23 @@ def read_namespaced_ingress_status_with_http_info(self, name, namespace, **kwarg auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Ingress', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Ingress', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_job(self, name, namespace, **kwargs): """ - read the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8800,9 +8317,7 @@ def read_namespaced_job(self, name, namespace, **kwargs): def read_namespaced_job_with_http_info(self, name, namespace, **kwargs): """ - read the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8869,12 +8384,9 @@ def read_namespaced_job_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -8884,25 +8396,23 @@ def read_namespaced_job_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Job', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Job', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_job_status(self, name, namespace, **kwargs): """ - read status of the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8929,9 +8439,7 @@ def read_namespaced_job_status(self, name, namespace, **kwargs): def read_namespaced_job_status_with_http_info(self, name, namespace, **kwargs): """ - read status of the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -8992,12 +8500,9 @@ def read_namespaced_job_status_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -9007,25 +8512,23 @@ def read_namespaced_job_status_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Job', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Job', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_network_policy(self, name, namespace, **kwargs): """ - read the specified NetworkPolicy - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9054,9 +8557,7 @@ def read_namespaced_network_policy(self, name, namespace, **kwargs): def read_namespaced_network_policy_with_http_info(self, name, namespace, **kwargs): """ - read the specified NetworkPolicy - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9123,12 +8624,9 @@ def read_namespaced_network_policy_with_http_info(self, name, namespace, **kwarg local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -9138,25 +8636,23 @@ def read_namespaced_network_policy_with_http_info(self, name, namespace, **kwarg auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1NetworkPolicy', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1NetworkPolicy', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_replica_set(self, name, namespace, **kwargs): """ - read the specified ReplicaSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9185,9 +8681,7 @@ def read_namespaced_replica_set(self, name, namespace, **kwargs): def read_namespaced_replica_set_with_http_info(self, name, namespace, **kwargs): """ - read the specified ReplicaSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9254,12 +8748,9 @@ def read_namespaced_replica_set_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -9269,25 +8760,23 @@ def read_namespaced_replica_set_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1ReplicaSet', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1ReplicaSet', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_replica_set_status(self, name, namespace, **kwargs): """ - read status of the specified ReplicaSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9314,9 +8803,7 @@ def read_namespaced_replica_set_status(self, name, namespace, **kwargs): def read_namespaced_replica_set_status_with_http_info(self, name, namespace, **kwargs): """ - read status of the specified ReplicaSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9377,12 +8864,9 @@ def read_namespaced_replica_set_status_with_http_info(self, name, namespace, **k local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -9392,25 +8876,23 @@ def read_namespaced_replica_set_status_with_http_info(self, name, namespace, **k auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1ReplicaSet', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1ReplicaSet', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_replicasets_scale(self, name, namespace, **kwargs): """ - read scale of the specified Scale - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9437,9 +8919,7 @@ def read_namespaced_replicasets_scale(self, name, namespace, **kwargs): def read_namespaced_replicasets_scale_with_http_info(self, name, namespace, **kwargs): """ - read scale of the specified Scale - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9500,12 +8980,9 @@ def read_namespaced_replicasets_scale_with_http_info(self, name, namespace, **kw local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -9515,25 +8992,23 @@ def read_namespaced_replicasets_scale_with_http_info(self, name, namespace, **kw auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Scale', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Scale', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_replicationcontrollers_scale(self, name, namespace, **kwargs): """ - read scale of the specified Scale - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9560,9 +9035,7 @@ def read_namespaced_replicationcontrollers_scale(self, name, namespace, **kwargs def read_namespaced_replicationcontrollers_scale_with_http_info(self, name, namespace, **kwargs): """ - read scale of the specified Scale - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9623,12 +9096,9 @@ def read_namespaced_replicationcontrollers_scale_with_http_info(self, name, name local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -9638,25 +9108,23 @@ def read_namespaced_replicationcontrollers_scale_with_http_info(self, name, name auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Scale', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Scale', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_third_party_resource(self, name, **kwargs): """ - read the specified ThirdPartyResource - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9684,9 +9152,7 @@ def read_third_party_resource(self, name, **kwargs): def read_third_party_resource_with_http_info(self, name, **kwargs): """ - read the specified ThirdPartyResource - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9747,12 +9213,9 @@ def read_third_party_resource_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -9762,25 +9225,23 @@ def read_third_party_resource_with_http_info(self, name, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1ThirdPartyResource', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1ThirdPartyResource', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_daemon_set(self, name, namespace, body, **kwargs): """ - replace the specified DaemonSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9793,7 +9254,7 @@ def replace_namespaced_daemon_set(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the DaemonSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1DaemonSet body: (required) + :param V1beta1DaemonSet body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1DaemonSet If the method is called asynchronously, @@ -9808,9 +9269,7 @@ def replace_namespaced_daemon_set(self, name, namespace, body, **kwargs): def replace_namespaced_daemon_set_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified DaemonSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9823,7 +9282,7 @@ def replace_namespaced_daemon_set_with_http_info(self, name, namespace, body, ** for asynchronous request. (optional) :param str name: name of the DaemonSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1DaemonSet body: (required) + :param V1beta1DaemonSet body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1DaemonSet If the method is called asynchronously, @@ -9877,12 +9336,9 @@ def replace_namespaced_daemon_set_with_http_info(self, name, namespace, body, ** body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -9892,25 +9348,23 @@ def replace_namespaced_daemon_set_with_http_info(self, name, namespace, body, ** auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1DaemonSet', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1DaemonSet', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_daemon_set_status(self, name, namespace, body, **kwargs): """ - replace status of the specified DaemonSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9923,7 +9377,7 @@ def replace_namespaced_daemon_set_status(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the DaemonSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1DaemonSet body: (required) + :param V1beta1DaemonSet body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1DaemonSet If the method is called asynchronously, @@ -9938,9 +9392,7 @@ def replace_namespaced_daemon_set_status(self, name, namespace, body, **kwargs): def replace_namespaced_daemon_set_status_with_http_info(self, name, namespace, body, **kwargs): """ - replace status of the specified DaemonSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -9953,7 +9405,7 @@ def replace_namespaced_daemon_set_status_with_http_info(self, name, namespace, b for asynchronous request. (optional) :param str name: name of the DaemonSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1DaemonSet body: (required) + :param V1beta1DaemonSet body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1DaemonSet If the method is called asynchronously, @@ -10007,12 +9459,9 @@ def replace_namespaced_daemon_set_status_with_http_info(self, name, namespace, b body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -10022,25 +9471,23 @@ def replace_namespaced_daemon_set_status_with_http_info(self, name, namespace, b auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1DaemonSet', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1DaemonSet', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_deployment(self, name, namespace, body, **kwargs): """ - replace the specified Deployment - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10053,7 +9500,7 @@ def replace_namespaced_deployment(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Deployment body: (required) + :param V1beta1Deployment body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Deployment If the method is called asynchronously, @@ -10068,9 +9515,7 @@ def replace_namespaced_deployment(self, name, namespace, body, **kwargs): def replace_namespaced_deployment_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified Deployment - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10083,7 +9528,7 @@ def replace_namespaced_deployment_with_http_info(self, name, namespace, body, ** for asynchronous request. (optional) :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Deployment body: (required) + :param V1beta1Deployment body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Deployment If the method is called asynchronously, @@ -10137,12 +9582,9 @@ def replace_namespaced_deployment_with_http_info(self, name, namespace, body, ** body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -10152,25 +9594,23 @@ def replace_namespaced_deployment_with_http_info(self, name, namespace, body, ** auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Deployment', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Deployment', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_deployment_status(self, name, namespace, body, **kwargs): """ - replace status of the specified Deployment - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10183,7 +9623,7 @@ def replace_namespaced_deployment_status(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Deployment body: (required) + :param V1beta1Deployment body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Deployment If the method is called asynchronously, @@ -10198,9 +9638,7 @@ def replace_namespaced_deployment_status(self, name, namespace, body, **kwargs): def replace_namespaced_deployment_status_with_http_info(self, name, namespace, body, **kwargs): """ - replace status of the specified Deployment - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10213,7 +9651,7 @@ def replace_namespaced_deployment_status_with_http_info(self, name, namespace, b for asynchronous request. (optional) :param str name: name of the Deployment (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Deployment body: (required) + :param V1beta1Deployment body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Deployment If the method is called asynchronously, @@ -10267,12 +9705,9 @@ def replace_namespaced_deployment_status_with_http_info(self, name, namespace, b body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -10282,25 +9717,23 @@ def replace_namespaced_deployment_status_with_http_info(self, name, namespace, b auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Deployment', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Deployment', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_deployments_scale(self, name, namespace, body, **kwargs): """ - replace scale of the specified Scale - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10313,7 +9746,7 @@ def replace_namespaced_deployments_scale(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Scale body: (required) + :param V1beta1Scale body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Scale If the method is called asynchronously, @@ -10328,9 +9761,7 @@ def replace_namespaced_deployments_scale(self, name, namespace, body, **kwargs): def replace_namespaced_deployments_scale_with_http_info(self, name, namespace, body, **kwargs): """ - replace scale of the specified Scale - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10343,7 +9774,7 @@ def replace_namespaced_deployments_scale_with_http_info(self, name, namespace, b for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Scale body: (required) + :param V1beta1Scale body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Scale If the method is called asynchronously, @@ -10397,12 +9828,9 @@ def replace_namespaced_deployments_scale_with_http_info(self, name, namespace, b body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -10412,25 +9840,23 @@ def replace_namespaced_deployments_scale_with_http_info(self, name, namespace, b auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Scale', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Scale', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, **kwargs): """ - replace the specified HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10443,7 +9869,7 @@ def replace_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, ** for asynchronous request. (optional) :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1HorizontalPodAutoscaler body: (required) + :param V1beta1HorizontalPodAutoscaler body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1HorizontalPodAutoscaler If the method is called asynchronously, @@ -10458,9 +9884,7 @@ def replace_namespaced_horizontal_pod_autoscaler(self, name, namespace, body, ** def replace_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10473,7 +9897,7 @@ def replace_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, name for asynchronous request. (optional) :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1HorizontalPodAutoscaler body: (required) + :param V1beta1HorizontalPodAutoscaler body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1HorizontalPodAutoscaler If the method is called asynchronously, @@ -10527,12 +9951,9 @@ def replace_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, name body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -10542,25 +9963,23 @@ def replace_namespaced_horizontal_pod_autoscaler_with_http_info(self, name, name auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1HorizontalPodAutoscaler', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1HorizontalPodAutoscaler', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_horizontal_pod_autoscaler_status(self, name, namespace, body, **kwargs): """ - replace status of the specified HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10573,7 +9992,7 @@ def replace_namespaced_horizontal_pod_autoscaler_status(self, name, namespace, b for asynchronous request. (optional) :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1HorizontalPodAutoscaler body: (required) + :param V1beta1HorizontalPodAutoscaler body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1HorizontalPodAutoscaler If the method is called asynchronously, @@ -10588,9 +10007,7 @@ def replace_namespaced_horizontal_pod_autoscaler_status(self, name, namespace, b def replace_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, name, namespace, body, **kwargs): """ - replace status of the specified HorizontalPodAutoscaler - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10603,7 +10020,7 @@ def replace_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, nam for asynchronous request. (optional) :param str name: name of the HorizontalPodAutoscaler (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1HorizontalPodAutoscaler body: (required) + :param V1beta1HorizontalPodAutoscaler body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1HorizontalPodAutoscaler If the method is called asynchronously, @@ -10657,12 +10074,9 @@ def replace_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, nam body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -10672,25 +10086,23 @@ def replace_namespaced_horizontal_pod_autoscaler_status_with_http_info(self, nam auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1HorizontalPodAutoscaler', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1HorizontalPodAutoscaler', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_ingress(self, name, namespace, body, **kwargs): """ - replace the specified Ingress - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10703,7 +10115,7 @@ def replace_namespaced_ingress(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Ingress (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Ingress body: (required) + :param V1beta1Ingress body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Ingress If the method is called asynchronously, @@ -10718,9 +10130,7 @@ def replace_namespaced_ingress(self, name, namespace, body, **kwargs): def replace_namespaced_ingress_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified Ingress - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10733,7 +10143,7 @@ def replace_namespaced_ingress_with_http_info(self, name, namespace, body, **kwa for asynchronous request. (optional) :param str name: name of the Ingress (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Ingress body: (required) + :param V1beta1Ingress body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Ingress If the method is called asynchronously, @@ -10787,12 +10197,9 @@ def replace_namespaced_ingress_with_http_info(self, name, namespace, body, **kwa body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -10802,25 +10209,23 @@ def replace_namespaced_ingress_with_http_info(self, name, namespace, body, **kwa auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Ingress', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Ingress', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_ingress_status(self, name, namespace, body, **kwargs): """ - replace status of the specified Ingress - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10833,7 +10238,7 @@ def replace_namespaced_ingress_status(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Ingress (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Ingress body: (required) + :param V1beta1Ingress body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Ingress If the method is called asynchronously, @@ -10848,9 +10253,7 @@ def replace_namespaced_ingress_status(self, name, namespace, body, **kwargs): def replace_namespaced_ingress_status_with_http_info(self, name, namespace, body, **kwargs): """ - replace status of the specified Ingress - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10863,7 +10266,7 @@ def replace_namespaced_ingress_status_with_http_info(self, name, namespace, body for asynchronous request. (optional) :param str name: name of the Ingress (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Ingress body: (required) + :param V1beta1Ingress body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Ingress If the method is called asynchronously, @@ -10917,12 +10320,9 @@ def replace_namespaced_ingress_status_with_http_info(self, name, namespace, body body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -10932,25 +10332,23 @@ def replace_namespaced_ingress_status_with_http_info(self, name, namespace, body auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Ingress', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Ingress', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_job(self, name, namespace, body, **kwargs): """ - replace the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10963,7 +10361,7 @@ def replace_namespaced_job(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Job body: (required) + :param V1beta1Job body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Job If the method is called asynchronously, @@ -10978,9 +10376,7 @@ def replace_namespaced_job(self, name, namespace, body, **kwargs): def replace_namespaced_job_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -10993,7 +10389,7 @@ def replace_namespaced_job_with_http_info(self, name, namespace, body, **kwargs) for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Job body: (required) + :param V1beta1Job body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Job If the method is called asynchronously, @@ -11047,12 +10443,9 @@ def replace_namespaced_job_with_http_info(self, name, namespace, body, **kwargs) body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -11062,25 +10455,23 @@ def replace_namespaced_job_with_http_info(self, name, namespace, body, **kwargs) auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Job', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Job', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_job_status(self, name, namespace, body, **kwargs): """ - replace status of the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11093,7 +10484,7 @@ def replace_namespaced_job_status(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Job body: (required) + :param V1beta1Job body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Job If the method is called asynchronously, @@ -11108,9 +10499,7 @@ def replace_namespaced_job_status(self, name, namespace, body, **kwargs): def replace_namespaced_job_status_with_http_info(self, name, namespace, body, **kwargs): """ - replace status of the specified Job - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11123,7 +10512,7 @@ def replace_namespaced_job_status_with_http_info(self, name, namespace, body, ** for asynchronous request. (optional) :param str name: name of the Job (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Job body: (required) + :param V1beta1Job body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Job If the method is called asynchronously, @@ -11177,12 +10566,9 @@ def replace_namespaced_job_status_with_http_info(self, name, namespace, body, ** body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -11192,25 +10578,23 @@ def replace_namespaced_job_status_with_http_info(self, name, namespace, body, ** auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Job', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Job', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_network_policy(self, name, namespace, body, **kwargs): """ - replace the specified NetworkPolicy - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11223,7 +10607,7 @@ def replace_namespaced_network_policy(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the NetworkPolicy (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1NetworkPolicy body: (required) + :param V1beta1NetworkPolicy body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1NetworkPolicy If the method is called asynchronously, @@ -11238,9 +10622,7 @@ def replace_namespaced_network_policy(self, name, namespace, body, **kwargs): def replace_namespaced_network_policy_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified NetworkPolicy - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11253,7 +10635,7 @@ def replace_namespaced_network_policy_with_http_info(self, name, namespace, body for asynchronous request. (optional) :param str name: name of the NetworkPolicy (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1NetworkPolicy body: (required) + :param V1beta1NetworkPolicy body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1NetworkPolicy If the method is called asynchronously, @@ -11307,12 +10689,9 @@ def replace_namespaced_network_policy_with_http_info(self, name, namespace, body body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -11322,25 +10701,23 @@ def replace_namespaced_network_policy_with_http_info(self, name, namespace, body auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1NetworkPolicy', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1NetworkPolicy', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_replica_set(self, name, namespace, body, **kwargs): """ - replace the specified ReplicaSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11353,7 +10730,7 @@ def replace_namespaced_replica_set(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the ReplicaSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1ReplicaSet body: (required) + :param V1beta1ReplicaSet body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1ReplicaSet If the method is called asynchronously, @@ -11368,9 +10745,7 @@ def replace_namespaced_replica_set(self, name, namespace, body, **kwargs): def replace_namespaced_replica_set_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified ReplicaSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11383,7 +10758,7 @@ def replace_namespaced_replica_set_with_http_info(self, name, namespace, body, * for asynchronous request. (optional) :param str name: name of the ReplicaSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1ReplicaSet body: (required) + :param V1beta1ReplicaSet body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1ReplicaSet If the method is called asynchronously, @@ -11437,12 +10812,9 @@ def replace_namespaced_replica_set_with_http_info(self, name, namespace, body, * body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -11452,25 +10824,23 @@ def replace_namespaced_replica_set_with_http_info(self, name, namespace, body, * auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1ReplicaSet', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1ReplicaSet', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_replica_set_status(self, name, namespace, body, **kwargs): """ - replace status of the specified ReplicaSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11483,7 +10853,7 @@ def replace_namespaced_replica_set_status(self, name, namespace, body, **kwargs) for asynchronous request. (optional) :param str name: name of the ReplicaSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1ReplicaSet body: (required) + :param V1beta1ReplicaSet body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1ReplicaSet If the method is called asynchronously, @@ -11498,9 +10868,7 @@ def replace_namespaced_replica_set_status(self, name, namespace, body, **kwargs) def replace_namespaced_replica_set_status_with_http_info(self, name, namespace, body, **kwargs): """ - replace status of the specified ReplicaSet - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11513,7 +10881,7 @@ def replace_namespaced_replica_set_status_with_http_info(self, name, namespace, for asynchronous request. (optional) :param str name: name of the ReplicaSet (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1ReplicaSet body: (required) + :param V1beta1ReplicaSet body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1ReplicaSet If the method is called asynchronously, @@ -11567,12 +10935,9 @@ def replace_namespaced_replica_set_status_with_http_info(self, name, namespace, body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -11582,25 +10947,23 @@ def replace_namespaced_replica_set_status_with_http_info(self, name, namespace, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1ReplicaSet', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1ReplicaSet', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_replicasets_scale(self, name, namespace, body, **kwargs): """ - replace scale of the specified Scale - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11613,7 +10976,7 @@ def replace_namespaced_replicasets_scale(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Scale body: (required) + :param V1beta1Scale body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Scale If the method is called asynchronously, @@ -11628,9 +10991,7 @@ def replace_namespaced_replicasets_scale(self, name, namespace, body, **kwargs): def replace_namespaced_replicasets_scale_with_http_info(self, name, namespace, body, **kwargs): """ - replace scale of the specified Scale - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11643,7 +11004,7 @@ def replace_namespaced_replicasets_scale_with_http_info(self, name, namespace, b for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Scale body: (required) + :param V1beta1Scale body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Scale If the method is called asynchronously, @@ -11697,12 +11058,9 @@ def replace_namespaced_replicasets_scale_with_http_info(self, name, namespace, b body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -11712,25 +11070,23 @@ def replace_namespaced_replicasets_scale_with_http_info(self, name, namespace, b auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Scale', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Scale', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_replicationcontrollers_scale(self, name, namespace, body, **kwargs): """ - replace scale of the specified Scale - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11743,7 +11099,7 @@ def replace_namespaced_replicationcontrollers_scale(self, name, namespace, body, for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Scale body: (required) + :param V1beta1Scale body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Scale If the method is called asynchronously, @@ -11758,9 +11114,7 @@ def replace_namespaced_replicationcontrollers_scale(self, name, namespace, body, def replace_namespaced_replicationcontrollers_scale_with_http_info(self, name, namespace, body, **kwargs): """ - replace scale of the specified Scale - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11773,7 +11127,7 @@ def replace_namespaced_replicationcontrollers_scale_with_http_info(self, name, n for asynchronous request. (optional) :param str name: name of the Scale (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1Scale body: (required) + :param V1beta1Scale body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1Scale If the method is called asynchronously, @@ -11827,12 +11181,9 @@ def replace_namespaced_replicationcontrollers_scale_with_http_info(self, name, n body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -11842,25 +11193,23 @@ def replace_namespaced_replicationcontrollers_scale_with_http_info(self, name, n auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1Scale', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1Scale', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_third_party_resource(self, name, body, **kwargs): """ - replace the specified ThirdPartyResource - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11872,7 +11221,7 @@ def replace_third_party_resource(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ThirdPartyResource (required) - :param V1beta1ThirdPartyResource body: (required) + :param V1beta1ThirdPartyResource body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1ThirdPartyResource If the method is called asynchronously, @@ -11887,9 +11236,7 @@ def replace_third_party_resource(self, name, body, **kwargs): def replace_third_party_resource_with_http_info(self, name, body, **kwargs): """ - replace the specified ThirdPartyResource - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -11901,7 +11248,7 @@ def replace_third_party_resource_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ThirdPartyResource (required) - :param V1beta1ThirdPartyResource body: (required) + :param V1beta1ThirdPartyResource body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1ThirdPartyResource If the method is called asynchronously, @@ -11950,12 +11297,9 @@ def replace_third_party_resource_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -11965,16 +11309,16 @@ def replace_third_party_resource_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1ThirdPartyResource', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1ThirdPartyResource', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/logs_api.py b/kubernetes/client/apis/logs_api.py index f5e677569a..c774bc6390 100644 --- a/kubernetes/client/apis/logs_api.py +++ b/kubernetes/client/apis/logs_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,6 @@ def __init__(self, api_client=None): def log_file_handler(self, logpath, **kwargs): """ - - - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -80,9 +66,6 @@ def log_file_handler(self, logpath, **kwargs): def log_file_handler_with_http_info(self, logpath, **kwargs): """ - - - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -134,40 +117,26 @@ def log_file_handler_with_http_info(self, logpath, **kwargs): local_var_files = {} body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept([]) - if not header_params['Accept']: - del header_params['Accept'] - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type([]) - # Authentication setting auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type=None, - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def log_file_list_handler(self, **kwargs): """ - - - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -191,9 +160,6 @@ def log_file_list_handler(self, **kwargs): def log_file_list_handler_with_http_info(self, **kwargs): """ - - - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -225,7 +191,6 @@ def log_file_list_handler_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/logs/'.replace('{format}', 'json') @@ -239,31 +204,20 @@ def log_file_list_handler_with_http_info(self, **kwargs): local_var_files = {} body_params = None - - # HTTP header `Accept` - header_params['Accept'] = self.api_client.\ - select_header_accept([]) - if not header_params['Accept']: - del header_params['Accept'] - - # HTTP header `Content-Type` - header_params['Content-Type'] = self.api_client.\ - select_header_content_type([]) - # Authentication setting auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type=None, - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type=None, + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/policy_api.py b/kubernetes/client/apis/policy_api.py index 4e056d5b76..da71ebfed7 100644 --- a/kubernetes/client/apis/policy_api.py +++ b/kubernetes/client/apis/policy_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,7 @@ def __init__(self, api_client=None): def get_api_group(self, **kwargs): """ - get information of a group - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -79,9 +66,7 @@ def get_api_group(self, **kwargs): def get_api_group_with_http_info(self, **kwargs): """ - get information of a group - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -113,7 +98,6 @@ def get_api_group_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/apis/policy/'.replace('{format}', 'json') @@ -127,12 +111,9 @@ def get_api_group_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -142,16 +123,16 @@ def get_api_group_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedAPIGroup', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedAPIGroup', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/policy_v1beta1_api.py b/kubernetes/client/apis/policy_v1beta1_api.py index 440c5645fa..7cfb28fa9c 100644 --- a/kubernetes/client/apis/policy_v1beta1_api.py +++ b/kubernetes/client/apis/policy_v1beta1_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,7 @@ def __init__(self, api_client=None): def create_namespaced_pod_disruption_budget(self, namespace, body, **kwargs): """ - create a PodDisruptionBudget - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -67,7 +54,7 @@ def create_namespaced_pod_disruption_budget(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1PodDisruptionBudget body: (required) + :param V1beta1PodDisruptionBudget body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1PodDisruptionBudget If the method is called asynchronously, @@ -82,9 +69,7 @@ def create_namespaced_pod_disruption_budget(self, namespace, body, **kwargs): def create_namespaced_pod_disruption_budget_with_http_info(self, namespace, body, **kwargs): """ - create a PodDisruptionBudget - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -96,7 +81,7 @@ def create_namespaced_pod_disruption_budget_with_http_info(self, namespace, body :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1PodDisruptionBudget body: (required) + :param V1beta1PodDisruptionBudget body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1PodDisruptionBudget If the method is called asynchronously, @@ -145,12 +130,9 @@ def create_namespaced_pod_disruption_budget_with_http_info(self, namespace, body body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -160,25 +142,23 @@ def create_namespaced_pod_disruption_budget_with_http_info(self, namespace, body auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1PodDisruptionBudget', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1PodDisruptionBudget', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_pod_disruption_budget(self, namespace, **kwargs): """ - delete collection of PodDisruptionBudget - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -209,9 +189,7 @@ def delete_collection_namespaced_pod_disruption_budget(self, namespace, **kwargs def delete_collection_namespaced_pod_disruption_budget_with_http_info(self, namespace, **kwargs): """ - delete collection of PodDisruptionBudget - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -281,12 +259,9 @@ def delete_collection_namespaced_pod_disruption_budget_with_http_info(self, name local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -296,25 +271,23 @@ def delete_collection_namespaced_pod_disruption_budget_with_http_info(self, name auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_pod_disruption_budget(self, name, namespace, body, **kwargs): """ - delete a PodDisruptionBudget - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -327,7 +300,7 @@ def delete_namespaced_pod_disruption_budget(self, name, namespace, body, **kwarg for asynchronous request. (optional) :param str name: name of the PodDisruptionBudget (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -344,9 +317,7 @@ def delete_namespaced_pod_disruption_budget(self, name, namespace, body, **kwarg def delete_namespaced_pod_disruption_budget_with_http_info(self, name, namespace, body, **kwargs): """ - delete a PodDisruptionBudget - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -359,7 +330,7 @@ def delete_namespaced_pod_disruption_budget_with_http_info(self, name, namespace for asynchronous request. (optional) :param str name: name of the PodDisruptionBudget (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -419,12 +390,9 @@ def delete_namespaced_pod_disruption_budget_with_http_info(self, name, namespace body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -434,25 +402,23 @@ def delete_namespaced_pod_disruption_budget_with_http_info(self, name, namespace auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def get_api_resources(self, **kwargs): """ - get available resources - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -476,9 +442,7 @@ def get_api_resources(self, **kwargs): def get_api_resources_with_http_info(self, **kwargs): """ - get available resources - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -510,7 +474,6 @@ def get_api_resources_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/apis/policy/v1beta1/'.replace('{format}', 'json') @@ -524,12 +487,9 @@ def get_api_resources_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -539,25 +499,23 @@ def get_api_resources_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedAPIResourceList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedAPIResourceList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_pod_disruption_budget(self, namespace, **kwargs): """ - list or watch objects of kind PodDisruptionBudget - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -588,9 +546,7 @@ def list_namespaced_pod_disruption_budget(self, namespace, **kwargs): def list_namespaced_pod_disruption_budget_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind PodDisruptionBudget - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -660,12 +616,9 @@ def list_namespaced_pod_disruption_budget_with_http_info(self, namespace, **kwar local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -675,25 +628,23 @@ def list_namespaced_pod_disruption_budget_with_http_info(self, namespace, **kwar auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1PodDisruptionBudgetList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1PodDisruptionBudgetList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_pod_disruption_budget_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind PodDisruptionBudget - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -723,9 +674,7 @@ def list_pod_disruption_budget_for_all_namespaces(self, **kwargs): def list_pod_disruption_budget_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind PodDisruptionBudget - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -789,12 +738,9 @@ def list_pod_disruption_budget_for_all_namespaces_with_http_info(self, **kwargs) local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -804,25 +750,23 @@ def list_pod_disruption_budget_for_all_namespaces_with_http_info(self, **kwargs) auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1PodDisruptionBudgetList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1PodDisruptionBudgetList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_pod_disruption_budget(self, name, namespace, body, **kwargs): """ - partially update the specified PodDisruptionBudget - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -835,7 +779,7 @@ def patch_namespaced_pod_disruption_budget(self, name, namespace, body, **kwargs for asynchronous request. (optional) :param str name: name of the PodDisruptionBudget (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1PodDisruptionBudget If the method is called asynchronously, @@ -850,9 +794,7 @@ def patch_namespaced_pod_disruption_budget(self, name, namespace, body, **kwargs def patch_namespaced_pod_disruption_budget_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified PodDisruptionBudget - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -865,7 +807,7 @@ def patch_namespaced_pod_disruption_budget_with_http_info(self, name, namespace, for asynchronous request. (optional) :param str name: name of the PodDisruptionBudget (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1PodDisruptionBudget If the method is called asynchronously, @@ -919,12 +861,9 @@ def patch_namespaced_pod_disruption_budget_with_http_info(self, name, namespace, body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -934,25 +873,23 @@ def patch_namespaced_pod_disruption_budget_with_http_info(self, name, namespace, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1PodDisruptionBudget', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1PodDisruptionBudget', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_pod_disruption_budget_status(self, name, namespace, body, **kwargs): """ - partially update status of the specified PodDisruptionBudget - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -965,7 +902,7 @@ def patch_namespaced_pod_disruption_budget_status(self, name, namespace, body, * for asynchronous request. (optional) :param str name: name of the PodDisruptionBudget (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1PodDisruptionBudget If the method is called asynchronously, @@ -980,9 +917,7 @@ def patch_namespaced_pod_disruption_budget_status(self, name, namespace, body, * def patch_namespaced_pod_disruption_budget_status_with_http_info(self, name, namespace, body, **kwargs): """ - partially update status of the specified PodDisruptionBudget - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -995,7 +930,7 @@ def patch_namespaced_pod_disruption_budget_status_with_http_info(self, name, nam for asynchronous request. (optional) :param str name: name of the PodDisruptionBudget (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1PodDisruptionBudget If the method is called asynchronously, @@ -1049,12 +984,9 @@ def patch_namespaced_pod_disruption_budget_status_with_http_info(self, name, nam body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1064,25 +996,23 @@ def patch_namespaced_pod_disruption_budget_status_with_http_info(self, name, nam auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1PodDisruptionBudget', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1PodDisruptionBudget', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_pod_disruption_budget(self, name, namespace, **kwargs): """ - read the specified PodDisruptionBudget - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1111,9 +1041,7 @@ def read_namespaced_pod_disruption_budget(self, name, namespace, **kwargs): def read_namespaced_pod_disruption_budget_with_http_info(self, name, namespace, **kwargs): """ - read the specified PodDisruptionBudget - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1180,12 +1108,9 @@ def read_namespaced_pod_disruption_budget_with_http_info(self, name, namespace, local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1195,25 +1120,23 @@ def read_namespaced_pod_disruption_budget_with_http_info(self, name, namespace, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1PodDisruptionBudget', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1PodDisruptionBudget', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_pod_disruption_budget_status(self, name, namespace, **kwargs): """ - read status of the specified PodDisruptionBudget - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1240,9 +1163,7 @@ def read_namespaced_pod_disruption_budget_status(self, name, namespace, **kwargs def read_namespaced_pod_disruption_budget_status_with_http_info(self, name, namespace, **kwargs): """ - read status of the specified PodDisruptionBudget - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1303,12 +1224,9 @@ def read_namespaced_pod_disruption_budget_status_with_http_info(self, name, name local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1318,25 +1236,23 @@ def read_namespaced_pod_disruption_budget_status_with_http_info(self, name, name auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1PodDisruptionBudget', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1PodDisruptionBudget', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_pod_disruption_budget(self, name, namespace, body, **kwargs): """ - replace the specified PodDisruptionBudget - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1349,7 +1265,7 @@ def replace_namespaced_pod_disruption_budget(self, name, namespace, body, **kwar for asynchronous request. (optional) :param str name: name of the PodDisruptionBudget (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1PodDisruptionBudget body: (required) + :param V1beta1PodDisruptionBudget body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1PodDisruptionBudget If the method is called asynchronously, @@ -1364,9 +1280,7 @@ def replace_namespaced_pod_disruption_budget(self, name, namespace, body, **kwar def replace_namespaced_pod_disruption_budget_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified PodDisruptionBudget - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1379,7 +1293,7 @@ def replace_namespaced_pod_disruption_budget_with_http_info(self, name, namespac for asynchronous request. (optional) :param str name: name of the PodDisruptionBudget (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1PodDisruptionBudget body: (required) + :param V1beta1PodDisruptionBudget body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1PodDisruptionBudget If the method is called asynchronously, @@ -1433,12 +1347,9 @@ def replace_namespaced_pod_disruption_budget_with_http_info(self, name, namespac body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1448,25 +1359,23 @@ def replace_namespaced_pod_disruption_budget_with_http_info(self, name, namespac auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1PodDisruptionBudget', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1PodDisruptionBudget', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_pod_disruption_budget_status(self, name, namespace, body, **kwargs): """ - replace status of the specified PodDisruptionBudget - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1479,7 +1388,7 @@ def replace_namespaced_pod_disruption_budget_status(self, name, namespace, body, for asynchronous request. (optional) :param str name: name of the PodDisruptionBudget (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1PodDisruptionBudget body: (required) + :param V1beta1PodDisruptionBudget body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1PodDisruptionBudget If the method is called asynchronously, @@ -1494,9 +1403,7 @@ def replace_namespaced_pod_disruption_budget_status(self, name, namespace, body, def replace_namespaced_pod_disruption_budget_status_with_http_info(self, name, namespace, body, **kwargs): """ - replace status of the specified PodDisruptionBudget - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1509,7 +1416,7 @@ def replace_namespaced_pod_disruption_budget_status_with_http_info(self, name, n for asynchronous request. (optional) :param str name: name of the PodDisruptionBudget (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1beta1PodDisruptionBudget body: (required) + :param V1beta1PodDisruptionBudget body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1PodDisruptionBudget If the method is called asynchronously, @@ -1563,12 +1470,9 @@ def replace_namespaced_pod_disruption_budget_status_with_http_info(self, name, n body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1578,16 +1482,16 @@ def replace_namespaced_pod_disruption_budget_status_with_http_info(self, name, n auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1PodDisruptionBudget', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1PodDisruptionBudget', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/rbac_authorization_api.py b/kubernetes/client/apis/rbac_authorization_api.py index 61a9a9c5ec..49301a9bbd 100644 --- a/kubernetes/client/apis/rbac_authorization_api.py +++ b/kubernetes/client/apis/rbac_authorization_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,7 @@ def __init__(self, api_client=None): def get_api_group(self, **kwargs): """ - get information of a group - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -79,9 +66,7 @@ def get_api_group(self, **kwargs): def get_api_group_with_http_info(self, **kwargs): """ - get information of a group - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -113,7 +98,6 @@ def get_api_group_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/apis/rbac.authorization.k8s.io/'.replace('{format}', 'json') @@ -127,12 +111,9 @@ def get_api_group_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -142,16 +123,16 @@ def get_api_group_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedAPIGroup', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedAPIGroup', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/rbac_authorization_v1alpha1_api.py b/kubernetes/client/apis/rbac_authorization_v1alpha1_api.py index 50e39e2f13..a458ef7ff5 100644 --- a/kubernetes/client/apis/rbac_authorization_v1alpha1_api.py +++ b/kubernetes/client/apis/rbac_authorization_v1alpha1_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,7 @@ def __init__(self, api_client=None): def create_cluster_role(self, body, **kwargs): """ - create a ClusterRole - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -66,7 +53,7 @@ def create_cluster_role(self, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1alpha1ClusterRole body: (required) + :param V1alpha1ClusterRole body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1ClusterRole If the method is called asynchronously, @@ -81,9 +68,7 @@ def create_cluster_role(self, body, **kwargs): def create_cluster_role_with_http_info(self, body, **kwargs): """ - create a ClusterRole - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -94,7 +79,7 @@ def create_cluster_role_with_http_info(self, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1alpha1ClusterRole body: (required) + :param V1alpha1ClusterRole body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1ClusterRole If the method is called asynchronously, @@ -138,12 +123,9 @@ def create_cluster_role_with_http_info(self, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -153,25 +135,23 @@ def create_cluster_role_with_http_info(self, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1ClusterRole', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1ClusterRole', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_cluster_role_binding(self, body, **kwargs): """ - create a ClusterRoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -182,7 +162,7 @@ def create_cluster_role_binding(self, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1alpha1ClusterRoleBinding body: (required) + :param V1alpha1ClusterRoleBinding body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1ClusterRoleBinding If the method is called asynchronously, @@ -197,9 +177,7 @@ def create_cluster_role_binding(self, body, **kwargs): def create_cluster_role_binding_with_http_info(self, body, **kwargs): """ - create a ClusterRoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -210,7 +188,7 @@ def create_cluster_role_binding_with_http_info(self, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1alpha1ClusterRoleBinding body: (required) + :param V1alpha1ClusterRoleBinding body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1ClusterRoleBinding If the method is called asynchronously, @@ -254,12 +232,9 @@ def create_cluster_role_binding_with_http_info(self, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -269,25 +244,23 @@ def create_cluster_role_binding_with_http_info(self, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1ClusterRoleBinding', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1ClusterRoleBinding', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_role(self, namespace, body, **kwargs): """ - create a Role - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -299,7 +272,7 @@ def create_namespaced_role(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha1Role body: (required) + :param V1alpha1Role body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1Role If the method is called asynchronously, @@ -314,9 +287,7 @@ def create_namespaced_role(self, namespace, body, **kwargs): def create_namespaced_role_with_http_info(self, namespace, body, **kwargs): """ - create a Role - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -328,7 +299,7 @@ def create_namespaced_role_with_http_info(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha1Role body: (required) + :param V1alpha1Role body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1Role If the method is called asynchronously, @@ -377,12 +348,9 @@ def create_namespaced_role_with_http_info(self, namespace, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -392,25 +360,23 @@ def create_namespaced_role_with_http_info(self, namespace, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1Role', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1Role', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def create_namespaced_role_binding(self, namespace, body, **kwargs): """ - create a RoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -422,7 +388,7 @@ def create_namespaced_role_binding(self, namespace, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha1RoleBinding body: (required) + :param V1alpha1RoleBinding body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1RoleBinding If the method is called asynchronously, @@ -437,9 +403,7 @@ def create_namespaced_role_binding(self, namespace, body, **kwargs): def create_namespaced_role_binding_with_http_info(self, namespace, body, **kwargs): """ - create a RoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -451,7 +415,7 @@ def create_namespaced_role_binding_with_http_info(self, namespace, body, **kwarg :param callback function: The callback function for asynchronous request. (optional) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha1RoleBinding body: (required) + :param V1alpha1RoleBinding body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1RoleBinding If the method is called asynchronously, @@ -500,12 +464,9 @@ def create_namespaced_role_binding_with_http_info(self, namespace, body, **kwarg body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -515,25 +476,23 @@ def create_namespaced_role_binding_with_http_info(self, namespace, body, **kwarg auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1RoleBinding', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1RoleBinding', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_cluster_role(self, name, body, **kwargs): """ - delete a ClusterRole - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -545,7 +504,7 @@ def delete_cluster_role(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterRole (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -562,9 +521,7 @@ def delete_cluster_role(self, name, body, **kwargs): def delete_cluster_role_with_http_info(self, name, body, **kwargs): """ - delete a ClusterRole - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -576,7 +533,7 @@ def delete_cluster_role_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterRole (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -631,12 +588,9 @@ def delete_cluster_role_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -646,25 +600,23 @@ def delete_cluster_role_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_cluster_role_binding(self, name, body, **kwargs): """ - delete a ClusterRoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -676,7 +628,7 @@ def delete_cluster_role_binding(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterRoleBinding (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -693,9 +645,7 @@ def delete_cluster_role_binding(self, name, body, **kwargs): def delete_cluster_role_binding_with_http_info(self, name, body, **kwargs): """ - delete a ClusterRoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -707,7 +657,7 @@ def delete_cluster_role_binding_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterRoleBinding (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -762,12 +712,9 @@ def delete_cluster_role_binding_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -777,25 +724,23 @@ def delete_cluster_role_binding_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_cluster_role(self, **kwargs): """ - delete collection of ClusterRole - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -825,9 +770,7 @@ def delete_collection_cluster_role(self, **kwargs): def delete_collection_cluster_role_with_http_info(self, **kwargs): """ - delete collection of ClusterRole - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -891,12 +834,9 @@ def delete_collection_cluster_role_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -906,25 +846,23 @@ def delete_collection_cluster_role_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_cluster_role_binding(self, **kwargs): """ - delete collection of ClusterRoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -954,9 +892,7 @@ def delete_collection_cluster_role_binding(self, **kwargs): def delete_collection_cluster_role_binding_with_http_info(self, **kwargs): """ - delete collection of ClusterRoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1020,12 +956,9 @@ def delete_collection_cluster_role_binding_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1035,25 +968,23 @@ def delete_collection_cluster_role_binding_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_role(self, namespace, **kwargs): """ - delete collection of Role - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1084,9 +1015,7 @@ def delete_collection_namespaced_role(self, namespace, **kwargs): def delete_collection_namespaced_role_with_http_info(self, namespace, **kwargs): """ - delete collection of Role - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1156,12 +1085,9 @@ def delete_collection_namespaced_role_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1171,25 +1097,23 @@ def delete_collection_namespaced_role_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_namespaced_role_binding(self, namespace, **kwargs): """ - delete collection of RoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1220,9 +1144,7 @@ def delete_collection_namespaced_role_binding(self, namespace, **kwargs): def delete_collection_namespaced_role_binding_with_http_info(self, namespace, **kwargs): """ - delete collection of RoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1292,12 +1214,9 @@ def delete_collection_namespaced_role_binding_with_http_info(self, namespace, ** local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1307,25 +1226,23 @@ def delete_collection_namespaced_role_binding_with_http_info(self, namespace, ** auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_role(self, name, namespace, body, **kwargs): """ - delete a Role - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1338,7 +1255,7 @@ def delete_namespaced_role(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Role (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -1355,9 +1272,7 @@ def delete_namespaced_role(self, name, namespace, body, **kwargs): def delete_namespaced_role_with_http_info(self, name, namespace, body, **kwargs): """ - delete a Role - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1370,7 +1285,7 @@ def delete_namespaced_role_with_http_info(self, name, namespace, body, **kwargs) for asynchronous request. (optional) :param str name: name of the Role (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -1430,12 +1345,9 @@ def delete_namespaced_role_with_http_info(self, name, namespace, body, **kwargs) body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1445,25 +1357,23 @@ def delete_namespaced_role_with_http_info(self, name, namespace, body, **kwargs) auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_namespaced_role_binding(self, name, namespace, body, **kwargs): """ - delete a RoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1476,7 +1386,7 @@ def delete_namespaced_role_binding(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the RoleBinding (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -1493,9 +1403,7 @@ def delete_namespaced_role_binding(self, name, namespace, body, **kwargs): def delete_namespaced_role_binding_with_http_info(self, name, namespace, body, **kwargs): """ - delete a RoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1508,7 +1416,7 @@ def delete_namespaced_role_binding_with_http_info(self, name, namespace, body, * for asynchronous request. (optional) :param str name: name of the RoleBinding (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -1568,12 +1476,9 @@ def delete_namespaced_role_binding_with_http_info(self, name, namespace, body, * body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1583,25 +1488,23 @@ def delete_namespaced_role_binding_with_http_info(self, name, namespace, body, * auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def get_api_resources(self, **kwargs): """ - get available resources - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1625,9 +1528,7 @@ def get_api_resources(self, **kwargs): def get_api_resources_with_http_info(self, **kwargs): """ - get available resources - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1659,7 +1560,6 @@ def get_api_resources_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/apis/rbac.authorization.k8s.io/v1alpha1/'.replace('{format}', 'json') @@ -1673,12 +1573,9 @@ def get_api_resources_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1688,25 +1585,23 @@ def get_api_resources_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedAPIResourceList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedAPIResourceList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_cluster_role(self, **kwargs): """ - list or watch objects of kind ClusterRole - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1736,9 +1631,7 @@ def list_cluster_role(self, **kwargs): def list_cluster_role_with_http_info(self, **kwargs): """ - list or watch objects of kind ClusterRole - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1802,12 +1695,9 @@ def list_cluster_role_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1817,25 +1707,23 @@ def list_cluster_role_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1ClusterRoleList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1ClusterRoleList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_cluster_role_binding(self, **kwargs): """ - list or watch objects of kind ClusterRoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1865,9 +1753,7 @@ def list_cluster_role_binding(self, **kwargs): def list_cluster_role_binding_with_http_info(self, **kwargs): """ - list or watch objects of kind ClusterRoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1931,12 +1817,9 @@ def list_cluster_role_binding_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1946,25 +1829,23 @@ def list_cluster_role_binding_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1ClusterRoleBindingList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1ClusterRoleBindingList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_role(self, namespace, **kwargs): """ - list or watch objects of kind Role - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -1995,9 +1876,7 @@ def list_namespaced_role(self, namespace, **kwargs): def list_namespaced_role_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind Role - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2067,12 +1946,9 @@ def list_namespaced_role_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2082,25 +1958,23 @@ def list_namespaced_role_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1RoleList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1RoleList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_namespaced_role_binding(self, namespace, **kwargs): """ - list or watch objects of kind RoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2131,9 +2005,7 @@ def list_namespaced_role_binding(self, namespace, **kwargs): def list_namespaced_role_binding_with_http_info(self, namespace, **kwargs): """ - list or watch objects of kind RoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2203,12 +2075,9 @@ def list_namespaced_role_binding_with_http_info(self, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2218,25 +2087,23 @@ def list_namespaced_role_binding_with_http_info(self, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1RoleBindingList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1RoleBindingList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_role_binding_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind RoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2266,9 +2133,7 @@ def list_role_binding_for_all_namespaces(self, **kwargs): def list_role_binding_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind RoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2332,12 +2197,9 @@ def list_role_binding_for_all_namespaces_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2347,25 +2209,23 @@ def list_role_binding_for_all_namespaces_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1RoleBindingList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1RoleBindingList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_role_for_all_namespaces(self, **kwargs): """ - list or watch objects of kind Role - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2395,9 +2255,7 @@ def list_role_for_all_namespaces(self, **kwargs): def list_role_for_all_namespaces_with_http_info(self, **kwargs): """ - list or watch objects of kind Role - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2461,12 +2319,9 @@ def list_role_for_all_namespaces_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2476,25 +2331,23 @@ def list_role_for_all_namespaces_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1RoleList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1RoleList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_cluster_role(self, name, body, **kwargs): """ - partially update the specified ClusterRole - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2506,7 +2359,7 @@ def patch_cluster_role(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterRole (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1ClusterRole If the method is called asynchronously, @@ -2521,9 +2374,7 @@ def patch_cluster_role(self, name, body, **kwargs): def patch_cluster_role_with_http_info(self, name, body, **kwargs): """ - partially update the specified ClusterRole - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2535,7 +2386,7 @@ def patch_cluster_role_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterRole (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1ClusterRole If the method is called asynchronously, @@ -2584,12 +2435,9 @@ def patch_cluster_role_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2599,25 +2447,23 @@ def patch_cluster_role_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1ClusterRole', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1ClusterRole', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_cluster_role_binding(self, name, body, **kwargs): """ - partially update the specified ClusterRoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2629,7 +2475,7 @@ def patch_cluster_role_binding(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterRoleBinding (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1ClusterRoleBinding If the method is called asynchronously, @@ -2644,9 +2490,7 @@ def patch_cluster_role_binding(self, name, body, **kwargs): def patch_cluster_role_binding_with_http_info(self, name, body, **kwargs): """ - partially update the specified ClusterRoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2658,7 +2502,7 @@ def patch_cluster_role_binding_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterRoleBinding (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1ClusterRoleBinding If the method is called asynchronously, @@ -2707,12 +2551,9 @@ def patch_cluster_role_binding_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2722,25 +2563,23 @@ def patch_cluster_role_binding_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1ClusterRoleBinding', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1ClusterRoleBinding', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_role(self, name, namespace, body, **kwargs): """ - partially update the specified Role - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2753,7 +2592,7 @@ def patch_namespaced_role(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Role (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1Role If the method is called asynchronously, @@ -2768,9 +2607,7 @@ def patch_namespaced_role(self, name, namespace, body, **kwargs): def patch_namespaced_role_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified Role - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2783,7 +2620,7 @@ def patch_namespaced_role_with_http_info(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Role (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1Role If the method is called asynchronously, @@ -2837,12 +2674,9 @@ def patch_namespaced_role_with_http_info(self, name, namespace, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2852,25 +2686,23 @@ def patch_namespaced_role_with_http_info(self, name, namespace, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1Role', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1Role', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_namespaced_role_binding(self, name, namespace, body, **kwargs): """ - partially update the specified RoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2883,7 +2715,7 @@ def patch_namespaced_role_binding(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the RoleBinding (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1RoleBinding If the method is called asynchronously, @@ -2898,9 +2730,7 @@ def patch_namespaced_role_binding(self, name, namespace, body, **kwargs): def patch_namespaced_role_binding_with_http_info(self, name, namespace, body, **kwargs): """ - partially update the specified RoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -2913,7 +2743,7 @@ def patch_namespaced_role_binding_with_http_info(self, name, namespace, body, ** for asynchronous request. (optional) :param str name: name of the RoleBinding (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1RoleBinding If the method is called asynchronously, @@ -2967,12 +2797,9 @@ def patch_namespaced_role_binding_with_http_info(self, name, namespace, body, ** body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -2982,25 +2809,23 @@ def patch_namespaced_role_binding_with_http_info(self, name, namespace, body, ** auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1RoleBinding', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1RoleBinding', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_cluster_role(self, name, **kwargs): """ - read the specified ClusterRole - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3026,9 +2851,7 @@ def read_cluster_role(self, name, **kwargs): def read_cluster_role_with_http_info(self, name, **kwargs): """ - read the specified ClusterRole - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3083,12 +2906,9 @@ def read_cluster_role_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3098,25 +2918,23 @@ def read_cluster_role_with_http_info(self, name, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1ClusterRole', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1ClusterRole', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_cluster_role_binding(self, name, **kwargs): """ - read the specified ClusterRoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3142,9 +2960,7 @@ def read_cluster_role_binding(self, name, **kwargs): def read_cluster_role_binding_with_http_info(self, name, **kwargs): """ - read the specified ClusterRoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3199,12 +3015,9 @@ def read_cluster_role_binding_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3214,25 +3027,23 @@ def read_cluster_role_binding_with_http_info(self, name, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1ClusterRoleBinding', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1ClusterRoleBinding', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_role(self, name, namespace, **kwargs): """ - read the specified Role - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3259,9 +3070,7 @@ def read_namespaced_role(self, name, namespace, **kwargs): def read_namespaced_role_with_http_info(self, name, namespace, **kwargs): """ - read the specified Role - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3322,12 +3131,9 @@ def read_namespaced_role_with_http_info(self, name, namespace, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3337,25 +3143,23 @@ def read_namespaced_role_with_http_info(self, name, namespace, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1Role', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1Role', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_namespaced_role_binding(self, name, namespace, **kwargs): """ - read the specified RoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3382,9 +3186,7 @@ def read_namespaced_role_binding(self, name, namespace, **kwargs): def read_namespaced_role_binding_with_http_info(self, name, namespace, **kwargs): """ - read the specified RoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3445,12 +3247,9 @@ def read_namespaced_role_binding_with_http_info(self, name, namespace, **kwargs) local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3460,25 +3259,23 @@ def read_namespaced_role_binding_with_http_info(self, name, namespace, **kwargs) auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1RoleBinding', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1RoleBinding', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_cluster_role(self, name, body, **kwargs): """ - replace the specified ClusterRole - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3490,7 +3287,7 @@ def replace_cluster_role(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterRole (required) - :param V1alpha1ClusterRole body: (required) + :param V1alpha1ClusterRole body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1ClusterRole If the method is called asynchronously, @@ -3505,9 +3302,7 @@ def replace_cluster_role(self, name, body, **kwargs): def replace_cluster_role_with_http_info(self, name, body, **kwargs): """ - replace the specified ClusterRole - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3519,7 +3314,7 @@ def replace_cluster_role_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterRole (required) - :param V1alpha1ClusterRole body: (required) + :param V1alpha1ClusterRole body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1ClusterRole If the method is called asynchronously, @@ -3568,12 +3363,9 @@ def replace_cluster_role_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3583,25 +3375,23 @@ def replace_cluster_role_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1ClusterRole', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1ClusterRole', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_cluster_role_binding(self, name, body, **kwargs): """ - replace the specified ClusterRoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3613,7 +3403,7 @@ def replace_cluster_role_binding(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterRoleBinding (required) - :param V1alpha1ClusterRoleBinding body: (required) + :param V1alpha1ClusterRoleBinding body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1ClusterRoleBinding If the method is called asynchronously, @@ -3628,9 +3418,7 @@ def replace_cluster_role_binding(self, name, body, **kwargs): def replace_cluster_role_binding_with_http_info(self, name, body, **kwargs): """ - replace the specified ClusterRoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3642,7 +3430,7 @@ def replace_cluster_role_binding_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the ClusterRoleBinding (required) - :param V1alpha1ClusterRoleBinding body: (required) + :param V1alpha1ClusterRoleBinding body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1ClusterRoleBinding If the method is called asynchronously, @@ -3691,12 +3479,9 @@ def replace_cluster_role_binding_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3706,25 +3491,23 @@ def replace_cluster_role_binding_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1ClusterRoleBinding', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1ClusterRoleBinding', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_role(self, name, namespace, body, **kwargs): """ - replace the specified Role - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3737,7 +3520,7 @@ def replace_namespaced_role(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the Role (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha1Role body: (required) + :param V1alpha1Role body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1Role If the method is called asynchronously, @@ -3752,9 +3535,7 @@ def replace_namespaced_role(self, name, namespace, body, **kwargs): def replace_namespaced_role_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified Role - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3767,7 +3548,7 @@ def replace_namespaced_role_with_http_info(self, name, namespace, body, **kwargs for asynchronous request. (optional) :param str name: name of the Role (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha1Role body: (required) + :param V1alpha1Role body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1Role If the method is called asynchronously, @@ -3821,12 +3602,9 @@ def replace_namespaced_role_with_http_info(self, name, namespace, body, **kwargs body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3836,25 +3614,23 @@ def replace_namespaced_role_with_http_info(self, name, namespace, body, **kwargs auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1Role', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1Role', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_namespaced_role_binding(self, name, namespace, body, **kwargs): """ - replace the specified RoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3867,7 +3643,7 @@ def replace_namespaced_role_binding(self, name, namespace, body, **kwargs): for asynchronous request. (optional) :param str name: name of the RoleBinding (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha1RoleBinding body: (required) + :param V1alpha1RoleBinding body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1RoleBinding If the method is called asynchronously, @@ -3882,9 +3658,7 @@ def replace_namespaced_role_binding(self, name, namespace, body, **kwargs): def replace_namespaced_role_binding_with_http_info(self, name, namespace, body, **kwargs): """ - replace the specified RoleBinding - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -3897,7 +3671,7 @@ def replace_namespaced_role_binding_with_http_info(self, name, namespace, body, for asynchronous request. (optional) :param str name: name of the RoleBinding (required) :param str namespace: object name and auth scope, such as for teams and projects (required) - :param V1alpha1RoleBinding body: (required) + :param V1alpha1RoleBinding body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1alpha1RoleBinding If the method is called asynchronously, @@ -3951,12 +3725,9 @@ def replace_namespaced_role_binding_with_http_info(self, name, namespace, body, body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -3966,16 +3737,16 @@ def replace_namespaced_role_binding_with_http_info(self, name, namespace, body, auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1alpha1RoleBinding', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1alpha1RoleBinding', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/storage_api.py b/kubernetes/client/apis/storage_api.py index e937514133..83b9cfe28d 100644 --- a/kubernetes/client/apis/storage_api.py +++ b/kubernetes/client/apis/storage_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,7 @@ def __init__(self, api_client=None): def get_api_group(self, **kwargs): """ - get information of a group - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -79,9 +66,7 @@ def get_api_group(self, **kwargs): def get_api_group_with_http_info(self, **kwargs): """ - get information of a group - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -113,7 +98,6 @@ def get_api_group_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/apis/storage.k8s.io/'.replace('{format}', 'json') @@ -127,12 +111,9 @@ def get_api_group_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -142,16 +123,16 @@ def get_api_group_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedAPIGroup', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedAPIGroup', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/storage_v1beta1_api.py b/kubernetes/client/apis/storage_v1beta1_api.py index f02140b5e7..7895a7756c 100644 --- a/kubernetes/client/apis/storage_v1beta1_api.py +++ b/kubernetes/client/apis/storage_v1beta1_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,7 @@ def __init__(self, api_client=None): def create_storage_class(self, body, **kwargs): """ - create a StorageClass - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -66,7 +53,7 @@ def create_storage_class(self, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1beta1StorageClass body: (required) + :param V1beta1StorageClass body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StorageClass If the method is called asynchronously, @@ -81,9 +68,7 @@ def create_storage_class(self, body, **kwargs): def create_storage_class_with_http_info(self, body, **kwargs): """ - create a StorageClass - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -94,7 +79,7 @@ def create_storage_class_with_http_info(self, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) - :param V1beta1StorageClass body: (required) + :param V1beta1StorageClass body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StorageClass If the method is called asynchronously, @@ -138,12 +123,9 @@ def create_storage_class_with_http_info(self, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -153,25 +135,23 @@ def create_storage_class_with_http_info(self, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'POST', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1StorageClass', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1StorageClass', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_collection_storage_class(self, **kwargs): """ - delete collection of StorageClass - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -201,9 +181,7 @@ def delete_collection_storage_class(self, **kwargs): def delete_collection_storage_class_with_http_info(self, **kwargs): """ - delete collection of StorageClass - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -267,12 +245,9 @@ def delete_collection_storage_class_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -282,25 +257,23 @@ def delete_collection_storage_class_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def delete_storage_class(self, name, body, **kwargs): """ - delete a StorageClass - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -312,7 +285,7 @@ def delete_storage_class(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the StorageClass (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -329,9 +302,7 @@ def delete_storage_class(self, name, body, **kwargs): def delete_storage_class_with_http_info(self, name, body, **kwargs): """ - delete a StorageClass - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -343,7 +314,7 @@ def delete_storage_class_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the StorageClass (required) - :param V1DeleteOptions body: (required) + :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Should the dependent objects be orphaned. If true/false, the \"orphan\" finalizer will be added to/removed from the object's finalizers list. @@ -398,12 +369,9 @@ def delete_storage_class_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -413,25 +381,23 @@ def delete_storage_class_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'DELETE', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedStatus', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedStatus', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def get_api_resources(self, **kwargs): """ - get available resources - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -455,9 +421,7 @@ def get_api_resources(self, **kwargs): def get_api_resources_with_http_info(self, **kwargs): """ - get available resources - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -489,7 +453,6 @@ def get_api_resources_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/apis/storage.k8s.io/v1beta1/'.replace('{format}', 'json') @@ -503,12 +466,9 @@ def get_api_resources_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -518,25 +478,23 @@ def get_api_resources_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='UnversionedAPIResourceList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='UnversionedAPIResourceList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def list_storage_class(self, **kwargs): """ - list or watch objects of kind StorageClass - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -566,9 +524,7 @@ def list_storage_class(self, **kwargs): def list_storage_class_with_http_info(self, **kwargs): """ - list or watch objects of kind StorageClass - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -632,12 +588,9 @@ def list_storage_class_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf', 'application/json;stream=watch', 'application/vnd.kubernetes.protobuf;stream=watch']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -647,25 +600,23 @@ def list_storage_class_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1StorageClassList', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1StorageClassList', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def patch_storage_class(self, name, body, **kwargs): """ - partially update the specified StorageClass - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -677,7 +628,7 @@ def patch_storage_class(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the StorageClass (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StorageClass If the method is called asynchronously, @@ -692,9 +643,7 @@ def patch_storage_class(self, name, body, **kwargs): def patch_storage_class_with_http_info(self, name, body, **kwargs): """ - partially update the specified StorageClass - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -706,7 +655,7 @@ def patch_storage_class_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the StorageClass (required) - :param UnversionedPatch body: (required) + :param UnversionedPatch body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StorageClass If the method is called asynchronously, @@ -755,12 +704,9 @@ def patch_storage_class_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -770,25 +716,23 @@ def patch_storage_class_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PATCH', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1StorageClass', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1StorageClass', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def read_storage_class(self, name, **kwargs): """ - read the specified StorageClass - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -816,9 +760,7 @@ def read_storage_class(self, name, **kwargs): def read_storage_class_with_http_info(self, name, **kwargs): """ - read the specified StorageClass - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -879,12 +821,9 @@ def read_storage_class_with_http_info(self, name, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -894,25 +833,23 @@ def read_storage_class_with_http_info(self, name, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1StorageClass', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1StorageClass', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) def replace_storage_class(self, name, body, **kwargs): """ - replace the specified StorageClass - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -924,7 +861,7 @@ def replace_storage_class(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the StorageClass (required) - :param V1beta1StorageClass body: (required) + :param V1beta1StorageClass body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StorageClass If the method is called asynchronously, @@ -939,9 +876,7 @@ def replace_storage_class(self, name, body, **kwargs): def replace_storage_class_with_http_info(self, name, body, **kwargs): """ - replace the specified StorageClass - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -953,7 +888,7 @@ def replace_storage_class_with_http_info(self, name, body, **kwargs): :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the StorageClass (required) - :param V1beta1StorageClass body: (required) + :param V1beta1StorageClass body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1StorageClass If the method is called asynchronously, @@ -1002,12 +937,9 @@ def replace_storage_class_with_http_info(self, name, body, **kwargs): body_params = None if 'body' in params: body_params = params['body'] - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json', 'application/yaml', 'application/vnd.kubernetes.protobuf']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -1017,16 +949,16 @@ def replace_storage_class_with_http_info(self, name, body, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'PUT', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='V1beta1StorageClass', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='V1beta1StorageClass', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/apis/version_api.py b/kubernetes/client/apis/version_api.py index fbca18b22f..dfa9484c5d 100644 --- a/kubernetes/client/apis/version_api.py +++ b/kubernetes/client/apis/version_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import sys @@ -53,9 +42,7 @@ def __init__(self, api_client=None): def get_code(self, **kwargs): """ - get the code version - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -79,9 +66,7 @@ def get_code(self, **kwargs): def get_code_with_http_info(self, **kwargs): """ - get the code version - This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. @@ -113,7 +98,6 @@ def get_code_with_http_info(self, **kwargs): params[key] = val del params['kwargs'] - collection_formats = {} resource_path = '/version/'.replace('{format}', 'json') @@ -127,12 +111,9 @@ def get_code_with_http_info(self, **kwargs): local_var_files = {} body_params = None - # HTTP header `Accept` header_params['Accept'] = self.api_client.\ select_header_accept(['application/json']) - if not header_params['Accept']: - del header_params['Accept'] # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.\ @@ -142,16 +123,16 @@ def get_code_with_http_info(self, **kwargs): auth_settings = ['BearerToken'] return self.api_client.call_api(resource_path, 'GET', - path_params, - query_params, - header_params, - body=body_params, - post_params=form_params, - files=local_var_files, - response_type='VersionInfo', - auth_settings=auth_settings, - callback=params.get('callback'), - _return_http_data_only=params.get('_return_http_data_only'), - _preload_content=params.get('_preload_content', True), - _request_timeout=params.get('_request_timeout'), - collection_formats=collection_formats) + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='VersionInfo', + auth_settings=auth_settings, + callback=params.get('callback'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/kubernetes/client/models/__init__.py b/kubernetes/client/models/__init__.py index 0d9582b89f..1dfe5e6a06 100644 --- a/kubernetes/client/models/__init__.py +++ b/kubernetes/client/models/__init__.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import # import models into model package diff --git a/kubernetes/client/models/intstr_int_or_string.py b/kubernetes/client/models/intstr_int_or_string.py index 97ea32adfa..217b0c2c63 100644 --- a/kubernetes/client/models/intstr_int_or_string.py +++ b/kubernetes/client/models/intstr_int_or_string.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re diff --git a/kubernetes/client/models/resource_quantity.py b/kubernetes/client/models/resource_quantity.py index a64872e47b..c05758c039 100644 --- a/kubernetes/client/models/resource_quantity.py +++ b/kubernetes/client/models/resource_quantity.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re diff --git a/kubernetes/client/models/runtime_raw_extension.py b/kubernetes/client/models/runtime_raw_extension.py index 48831c0fd2..c34df14fa0 100644 --- a/kubernetes/client/models/runtime_raw_extension.py +++ b/kubernetes/client/models/runtime_raw_extension.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -51,7 +40,6 @@ def __init__(self, raw=None): self._raw = raw - @property def raw(self): """ diff --git a/kubernetes/client/models/unversioned_api_group.py b/kubernetes/client/models/unversioned_api_group.py index be6162f6e8..ba655cb9e4 100644 --- a/kubernetes/client/models/unversioned_api_group.py +++ b/kubernetes/client/models/unversioned_api_group.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -66,7 +55,6 @@ def __init__(self, api_version=None, kind=None, name=None, preferred_version=Non self._server_address_by_client_cid_rs = server_address_by_client_cid_rs self._versions = versions - @property def api_version(self): """ diff --git a/kubernetes/client/models/unversioned_api_group_list.py b/kubernetes/client/models/unversioned_api_group_list.py index 18f3bc8e6e..64657b0d18 100644 --- a/kubernetes/client/models/unversioned_api_group_list.py +++ b/kubernetes/client/models/unversioned_api_group_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, api_version=None, groups=None, kind=None): self._groups = groups self._kind = kind - @property def api_version(self): """ diff --git a/kubernetes/client/models/unversioned_api_resource.py b/kubernetes/client/models/unversioned_api_resource.py index cf79a8f878..ed51443bf7 100644 --- a/kubernetes/client/models/unversioned_api_resource.py +++ b/kubernetes/client/models/unversioned_api_resource.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, kind=None, name=None, namespaced=None): self._name = name self._namespaced = namespaced - @property def kind(self): """ diff --git a/kubernetes/client/models/unversioned_api_resource_list.py b/kubernetes/client/models/unversioned_api_resource_list.py index 228fb58207..0c311eb9fe 100644 --- a/kubernetes/client/models/unversioned_api_resource_list.py +++ b/kubernetes/client/models/unversioned_api_resource_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, group_version=None, kind=None, resources=No self._kind = kind self._resources = resources - @property def api_version(self): """ diff --git a/kubernetes/client/models/unversioned_api_versions.py b/kubernetes/client/models/unversioned_api_versions.py index 3fa3033f02..b84663cb83 100644 --- a/kubernetes/client/models/unversioned_api_versions.py +++ b/kubernetes/client/models/unversioned_api_versions.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, kind=None, server_address_by_client_cid_rs= self._server_address_by_client_cid_rs = server_address_by_client_cid_rs self._versions = versions - @property def api_version(self): """ diff --git a/kubernetes/client/models/unversioned_group_version_for_discovery.py b/kubernetes/client/models/unversioned_group_version_for_discovery.py index d7f5e8f20f..ee76f98e6c 100644 --- a/kubernetes/client/models/unversioned_group_version_for_discovery.py +++ b/kubernetes/client/models/unversioned_group_version_for_discovery.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, group_version=None, version=None): self._group_version = group_version self._version = version - @property def group_version(self): """ diff --git a/kubernetes/client/models/unversioned_label_selector.py b/kubernetes/client/models/unversioned_label_selector.py index a9e5b95277..aa42da0e11 100644 --- a/kubernetes/client/models/unversioned_label_selector.py +++ b/kubernetes/client/models/unversioned_label_selector.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, match_expressions=None, match_labels=None): self._match_expressions = match_expressions self._match_labels = match_labels - @property def match_expressions(self): """ diff --git a/kubernetes/client/models/unversioned_label_selector_requirement.py b/kubernetes/client/models/unversioned_label_selector_requirement.py index d4ae325ad2..6da0239a17 100644 --- a/kubernetes/client/models/unversioned_label_selector_requirement.py +++ b/kubernetes/client/models/unversioned_label_selector_requirement.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, key=None, operator=None, values=None): self._operator = operator self._values = values - @property def key(self): """ diff --git a/kubernetes/client/models/unversioned_list_meta.py b/kubernetes/client/models/unversioned_list_meta.py index 0cf321ae5b..1598a0893c 100644 --- a/kubernetes/client/models/unversioned_list_meta.py +++ b/kubernetes/client/models/unversioned_list_meta.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, resource_version=None, self_link=None): self._resource_version = resource_version self._self_link = self_link - @property def resource_version(self): """ diff --git a/kubernetes/client/models/unversioned_server_address_by_client_cidr.py b/kubernetes/client/models/unversioned_server_address_by_client_cidr.py index 7136896f60..15b2e369e5 100644 --- a/kubernetes/client/models/unversioned_server_address_by_client_cidr.py +++ b/kubernetes/client/models/unversioned_server_address_by_client_cidr.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, client_cidr=None, server_address=None): self._client_cidr = client_cidr self._server_address = server_address - @property def client_cidr(self): """ diff --git a/kubernetes/client/models/unversioned_status.py b/kubernetes/client/models/unversioned_status.py index c0a280952e..39839e2393 100644 --- a/kubernetes/client/models/unversioned_status.py +++ b/kubernetes/client/models/unversioned_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -72,7 +61,6 @@ def __init__(self, api_version=None, code=None, details=None, kind=None, message self._reason = reason self._status = status - @property def api_version(self): """ diff --git a/kubernetes/client/models/unversioned_status_cause.py b/kubernetes/client/models/unversioned_status_cause.py index d8fe0e59f0..724c86447f 100644 --- a/kubernetes/client/models/unversioned_status_cause.py +++ b/kubernetes/client/models/unversioned_status_cause.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, field=None, message=None, reason=None): self._message = message self._reason = reason - @property def field(self): """ diff --git a/kubernetes/client/models/unversioned_status_details.py b/kubernetes/client/models/unversioned_status_details.py index ccd72f0579..c1fe1c7b38 100644 --- a/kubernetes/client/models/unversioned_status_details.py +++ b/kubernetes/client/models/unversioned_status_details.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, causes=None, group=None, kind=None, name=None, retry_after_se self._name = name self._retry_after_seconds = retry_after_seconds - @property def causes(self): """ diff --git a/kubernetes/client/models/unversioned_time.py b/kubernetes/client/models/unversioned_time.py index d0a3016523..1156f583cc 100644 --- a/kubernetes/client/models/unversioned_time.py +++ b/kubernetes/client/models/unversioned_time.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re diff --git a/kubernetes/client/models/v1_attached_volume.py b/kubernetes/client/models/v1_attached_volume.py index d6da0a5021..7c2ddd6511 100644 --- a/kubernetes/client/models/v1_attached_volume.py +++ b/kubernetes/client/models/v1_attached_volume.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, device_path=None, name=None): self._device_path = device_path self._name = name - @property def device_path(self): """ diff --git a/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py b/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py index 3c7c25cc6d..97050f94db 100644 --- a/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py +++ b/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, fs_type=None, partition=None, read_only=None, volume_id=None) self._read_only = read_only self._volume_id = volume_id - @property def fs_type(self): """ diff --git a/kubernetes/client/models/v1_azure_disk_volume_source.py b/kubernetes/client/models/v1_azure_disk_volume_source.py index e6238cefdf..12826e78b3 100644 --- a/kubernetes/client/models/v1_azure_disk_volume_source.py +++ b/kubernetes/client/models/v1_azure_disk_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, caching_mode=None, disk_name=None, disk_uri=None, fs_type=Non self._fs_type = fs_type self._read_only = read_only - @property def caching_mode(self): """ diff --git a/kubernetes/client/models/v1_azure_file_volume_source.py b/kubernetes/client/models/v1_azure_file_volume_source.py index a6cacd3839..9ec6129514 100644 --- a/kubernetes/client/models/v1_azure_file_volume_source.py +++ b/kubernetes/client/models/v1_azure_file_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, read_only=None, secret_name=None, share_name=None): self._secret_name = secret_name self._share_name = share_name - @property def read_only(self): """ diff --git a/kubernetes/client/models/v1_binding.py b/kubernetes/client/models/v1_binding.py index 7e12262593..eda1400323 100644 --- a/kubernetes/client/models/v1_binding.py +++ b/kubernetes/client/models/v1_binding.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, target=None): self._metadata = metadata self._target = target - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_capabilities.py b/kubernetes/client/models/v1_capabilities.py index dee8d90646..112b32de96 100644 --- a/kubernetes/client/models/v1_capabilities.py +++ b/kubernetes/client/models/v1_capabilities.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, add=None, drop=None): self._add = add self._drop = drop - @property def add(self): """ diff --git a/kubernetes/client/models/v1_ceph_fs_volume_source.py b/kubernetes/client/models/v1_ceph_fs_volume_source.py index 4b042e7710..70161015b0 100644 --- a/kubernetes/client/models/v1_ceph_fs_volume_source.py +++ b/kubernetes/client/models/v1_ceph_fs_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -66,7 +55,6 @@ def __init__(self, monitors=None, path=None, read_only=None, secret_file=None, s self._secret_ref = secret_ref self._user = user - @property def monitors(self): """ diff --git a/kubernetes/client/models/v1_cinder_volume_source.py b/kubernetes/client/models/v1_cinder_volume_source.py index e9ff545296..d6d1118e45 100644 --- a/kubernetes/client/models/v1_cinder_volume_source.py +++ b/kubernetes/client/models/v1_cinder_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, fs_type=None, read_only=None, volume_id=None): self._read_only = read_only self._volume_id = volume_id - @property def fs_type(self): """ diff --git a/kubernetes/client/models/v1_component_condition.py b/kubernetes/client/models/v1_component_condition.py index 21fb96a2a1..4e045f668b 100644 --- a/kubernetes/client/models/v1_component_condition.py +++ b/kubernetes/client/models/v1_component_condition.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, error=None, message=None, status=None, type=None): self._status = status self._type = type - @property def error(self): """ diff --git a/kubernetes/client/models/v1_component_status.py b/kubernetes/client/models/v1_component_status.py index 303daf88d8..a62383dd82 100644 --- a/kubernetes/client/models/v1_component_status.py +++ b/kubernetes/client/models/v1_component_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, conditions=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_component_status_list.py b/kubernetes/client/models/v1_component_status_list.py index 815f6669bc..de2ba289d3 100644 --- a/kubernetes/client/models/v1_component_status_list.py +++ b/kubernetes/client/models/v1_component_status_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_config_map.py b/kubernetes/client/models/v1_config_map.py index 2c7420e61a..1e0fd4d3d0 100644 --- a/kubernetes/client/models/v1_config_map.py +++ b/kubernetes/client/models/v1_config_map.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, data=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_config_map_key_selector.py b/kubernetes/client/models/v1_config_map_key_selector.py index dc131a268a..070a2edeaa 100644 --- a/kubernetes/client/models/v1_config_map_key_selector.py +++ b/kubernetes/client/models/v1_config_map_key_selector.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, key=None, name=None): self._key = key self._name = name - @property def key(self): """ diff --git a/kubernetes/client/models/v1_config_map_list.py b/kubernetes/client/models/v1_config_map_list.py index 0a0a973e62..9469affa38 100644 --- a/kubernetes/client/models/v1_config_map_list.py +++ b/kubernetes/client/models/v1_config_map_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_config_map_volume_source.py b/kubernetes/client/models/v1_config_map_volume_source.py index ec9476b95a..4a04f805e2 100644 --- a/kubernetes/client/models/v1_config_map_volume_source.py +++ b/kubernetes/client/models/v1_config_map_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, default_mode=None, items=None, name=None): self._items = items self._name = name - @property def default_mode(self): """ diff --git a/kubernetes/client/models/v1_container.py b/kubernetes/client/models/v1_container.py index 4c677623a5..e0985dd553 100644 --- a/kubernetes/client/models/v1_container.py +++ b/kubernetes/client/models/v1_container.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -102,7 +91,6 @@ def __init__(self, args=None, command=None, env=None, image=None, image_pull_pol self._volume_mounts = volume_mounts self._working_dir = working_dir - @property def args(self): """ diff --git a/kubernetes/client/models/v1_container_image.py b/kubernetes/client/models/v1_container_image.py index 2fc9380ef8..2e8a7e489c 100644 --- a/kubernetes/client/models/v1_container_image.py +++ b/kubernetes/client/models/v1_container_image.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, names=None, size_bytes=None): self._names = names self._size_bytes = size_bytes - @property def names(self): """ diff --git a/kubernetes/client/models/v1_container_port.py b/kubernetes/client/models/v1_container_port.py index 772d9e9a8e..de75216e2c 100644 --- a/kubernetes/client/models/v1_container_port.py +++ b/kubernetes/client/models/v1_container_port.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, container_port=None, host_ip=None, host_port=None, name=None, self._name = name self._protocol = protocol - @property def container_port(self): """ diff --git a/kubernetes/client/models/v1_container_state.py b/kubernetes/client/models/v1_container_state.py index 2e6395f3d4..2e30908081 100644 --- a/kubernetes/client/models/v1_container_state.py +++ b/kubernetes/client/models/v1_container_state.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, running=None, terminated=None, waiting=None): self._terminated = terminated self._waiting = waiting - @property def running(self): """ diff --git a/kubernetes/client/models/v1_container_state_running.py b/kubernetes/client/models/v1_container_state_running.py index 125a94911c..88caac26de 100644 --- a/kubernetes/client/models/v1_container_state_running.py +++ b/kubernetes/client/models/v1_container_state_running.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -51,7 +40,6 @@ def __init__(self, started_at=None): self._started_at = started_at - @property def started_at(self): """ diff --git a/kubernetes/client/models/v1_container_state_terminated.py b/kubernetes/client/models/v1_container_state_terminated.py index 08c25c6117..23e902864a 100644 --- a/kubernetes/client/models/v1_container_state_terminated.py +++ b/kubernetes/client/models/v1_container_state_terminated.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -69,7 +58,6 @@ def __init__(self, container_id=None, exit_code=None, finished_at=None, message= self._signal = signal self._started_at = started_at - @property def container_id(self): """ diff --git a/kubernetes/client/models/v1_container_state_waiting.py b/kubernetes/client/models/v1_container_state_waiting.py index bf9522531f..8a7b39b1de 100644 --- a/kubernetes/client/models/v1_container_state_waiting.py +++ b/kubernetes/client/models/v1_container_state_waiting.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, message=None, reason=None): self._message = message self._reason = reason - @property def message(self): """ diff --git a/kubernetes/client/models/v1_container_status.py b/kubernetes/client/models/v1_container_status.py index dd747c9c98..e8c52aac5d 100644 --- a/kubernetes/client/models/v1_container_status.py +++ b/kubernetes/client/models/v1_container_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -72,7 +61,6 @@ def __init__(self, container_id=None, image=None, image_id=None, last_state=None self._restart_count = restart_count self._state = state - @property def container_id(self): """ diff --git a/kubernetes/client/models/v1_cross_version_object_reference.py b/kubernetes/client/models/v1_cross_version_object_reference.py index a75ddfbd6f..b14d925c36 100644 --- a/kubernetes/client/models/v1_cross_version_object_reference.py +++ b/kubernetes/client/models/v1_cross_version_object_reference.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, api_version=None, kind=None, name=None): self._kind = kind self._name = name - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_daemon_endpoint.py b/kubernetes/client/models/v1_daemon_endpoint.py index 21be2927a1..32eec9e40b 100644 --- a/kubernetes/client/models/v1_daemon_endpoint.py +++ b/kubernetes/client/models/v1_daemon_endpoint.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -51,7 +40,6 @@ def __init__(self, port=None): self._port = port - @property def port(self): """ diff --git a/kubernetes/client/models/v1_delete_options.py b/kubernetes/client/models/v1_delete_options.py index 18d25fa4ff..3ae0cd50fd 100644 --- a/kubernetes/client/models/v1_delete_options.py +++ b/kubernetes/client/models/v1_delete_options.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, grace_period_seconds=None, kind=None, orpha self._orphan_dependents = orphan_dependents self._preconditions = preconditions - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_downward_api_volume_file.py b/kubernetes/client/models/v1_downward_api_volume_file.py index e08aff8aa9..066426bc53 100644 --- a/kubernetes/client/models/v1_downward_api_volume_file.py +++ b/kubernetes/client/models/v1_downward_api_volume_file.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, field_ref=None, mode=None, path=None, resource_field_ref=None self._path = path self._resource_field_ref = resource_field_ref - @property def field_ref(self): """ diff --git a/kubernetes/client/models/v1_downward_api_volume_source.py b/kubernetes/client/models/v1_downward_api_volume_source.py index 35d12f72dc..e1198a1db2 100644 --- a/kubernetes/client/models/v1_downward_api_volume_source.py +++ b/kubernetes/client/models/v1_downward_api_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, default_mode=None, items=None): self._default_mode = default_mode self._items = items - @property def default_mode(self): """ diff --git a/kubernetes/client/models/v1_empty_dir_volume_source.py b/kubernetes/client/models/v1_empty_dir_volume_source.py index 608d7b6d0c..f66367cc5c 100644 --- a/kubernetes/client/models/v1_empty_dir_volume_source.py +++ b/kubernetes/client/models/v1_empty_dir_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -51,7 +40,6 @@ def __init__(self, medium=None): self._medium = medium - @property def medium(self): """ diff --git a/kubernetes/client/models/v1_endpoint_address.py b/kubernetes/client/models/v1_endpoint_address.py index eb87f2e4b3..51eca27b4e 100644 --- a/kubernetes/client/models/v1_endpoint_address.py +++ b/kubernetes/client/models/v1_endpoint_address.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, hostname=None, ip=None, node_name=None, target_ref=None): self._node_name = node_name self._target_ref = target_ref - @property def hostname(self): """ diff --git a/kubernetes/client/models/v1_endpoint_port.py b/kubernetes/client/models/v1_endpoint_port.py index 9579559f9d..7803d7ccd6 100644 --- a/kubernetes/client/models/v1_endpoint_port.py +++ b/kubernetes/client/models/v1_endpoint_port.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, name=None, port=None, protocol=None): self._port = port self._protocol = protocol - @property def name(self): """ diff --git a/kubernetes/client/models/v1_endpoint_subset.py b/kubernetes/client/models/v1_endpoint_subset.py index 2df16981fa..8c314a9ce8 100644 --- a/kubernetes/client/models/v1_endpoint_subset.py +++ b/kubernetes/client/models/v1_endpoint_subset.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, addresses=None, not_ready_addresses=None, ports=None): self._not_ready_addresses = not_ready_addresses self._ports = ports - @property def addresses(self): """ diff --git a/kubernetes/client/models/v1_endpoints.py b/kubernetes/client/models/v1_endpoints.py index 03e005b30d..bf6e6ca139 100644 --- a/kubernetes/client/models/v1_endpoints.py +++ b/kubernetes/client/models/v1_endpoints.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, subsets=None): self._metadata = metadata self._subsets = subsets - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_endpoints_list.py b/kubernetes/client/models/v1_endpoints_list.py index 4543fc7823..c8d56a95a2 100644 --- a/kubernetes/client/models/v1_endpoints_list.py +++ b/kubernetes/client/models/v1_endpoints_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_env_var.py b/kubernetes/client/models/v1_env_var.py index 7b7f0edcfb..60a7726d65 100644 --- a/kubernetes/client/models/v1_env_var.py +++ b/kubernetes/client/models/v1_env_var.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, name=None, value=None, value_from=None): self._value = value self._value_from = value_from - @property def name(self): """ diff --git a/kubernetes/client/models/v1_env_var_source.py b/kubernetes/client/models/v1_env_var_source.py index ed52d13eb3..74a26a9d3b 100644 --- a/kubernetes/client/models/v1_env_var_source.py +++ b/kubernetes/client/models/v1_env_var_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, config_map_key_ref=None, field_ref=None, resource_field_ref=N self._resource_field_ref = resource_field_ref self._secret_key_ref = secret_key_ref - @property def config_map_key_ref(self): """ diff --git a/kubernetes/client/models/v1_event.py b/kubernetes/client/models/v1_event.py index e8cb841a94..598e9b27a0 100644 --- a/kubernetes/client/models/v1_event.py +++ b/kubernetes/client/models/v1_event.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -81,7 +70,6 @@ def __init__(self, api_version=None, count=None, first_timestamp=None, involved_ self._source = source self._type = type - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_event_list.py b/kubernetes/client/models/v1_event_list.py index 217f37ec03..1771cf7f46 100644 --- a/kubernetes/client/models/v1_event_list.py +++ b/kubernetes/client/models/v1_event_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_event_source.py b/kubernetes/client/models/v1_event_source.py index 8f469652b9..f6776ee6f6 100644 --- a/kubernetes/client/models/v1_event_source.py +++ b/kubernetes/client/models/v1_event_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, component=None, host=None): self._component = component self._host = host - @property def component(self): """ diff --git a/kubernetes/client/models/v1_exec_action.py b/kubernetes/client/models/v1_exec_action.py index 7ea2f1c22e..2c2f8d1969 100644 --- a/kubernetes/client/models/v1_exec_action.py +++ b/kubernetes/client/models/v1_exec_action.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -51,7 +40,6 @@ def __init__(self, command=None): self._command = command - @property def command(self): """ diff --git a/kubernetes/client/models/v1_fc_volume_source.py b/kubernetes/client/models/v1_fc_volume_source.py index fa1f62b5ff..63e1b365d3 100644 --- a/kubernetes/client/models/v1_fc_volume_source.py +++ b/kubernetes/client/models/v1_fc_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, fs_type=None, lun=None, read_only=None, target_ww_ns=None): self._read_only = read_only self._target_ww_ns = target_ww_ns - @property def fs_type(self): """ diff --git a/kubernetes/client/models/v1_flex_volume_source.py b/kubernetes/client/models/v1_flex_volume_source.py index eddf844e70..c0d5e24b49 100644 --- a/kubernetes/client/models/v1_flex_volume_source.py +++ b/kubernetes/client/models/v1_flex_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, driver=None, fs_type=None, options=None, read_only=None, secr self._read_only = read_only self._secret_ref = secret_ref - @property def driver(self): """ diff --git a/kubernetes/client/models/v1_flocker_volume_source.py b/kubernetes/client/models/v1_flocker_volume_source.py index 2e8bd44498..1fce5a70fa 100644 --- a/kubernetes/client/models/v1_flocker_volume_source.py +++ b/kubernetes/client/models/v1_flocker_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, dataset_name=None, dataset_uuid=None): self._dataset_name = dataset_name self._dataset_uuid = dataset_uuid - @property def dataset_name(self): """ diff --git a/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py b/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py index a0a2ba55ac..68ef3f269f 100644 --- a/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py +++ b/kubernetes/client/models/v1_gce_persistent_disk_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, fs_type=None, partition=None, pd_name=None, read_only=None): self._pd_name = pd_name self._read_only = read_only - @property def fs_type(self): """ diff --git a/kubernetes/client/models/v1_git_repo_volume_source.py b/kubernetes/client/models/v1_git_repo_volume_source.py index 4b794df934..faf6f94dcf 100644 --- a/kubernetes/client/models/v1_git_repo_volume_source.py +++ b/kubernetes/client/models/v1_git_repo_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, directory=None, repository=None, revision=None): self._repository = repository self._revision = revision - @property def directory(self): """ diff --git a/kubernetes/client/models/v1_glusterfs_volume_source.py b/kubernetes/client/models/v1_glusterfs_volume_source.py index cbb54743bd..5cdffa23a5 100644 --- a/kubernetes/client/models/v1_glusterfs_volume_source.py +++ b/kubernetes/client/models/v1_glusterfs_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, endpoints=None, path=None, read_only=None): self._path = path self._read_only = read_only - @property def endpoints(self): """ diff --git a/kubernetes/client/models/v1_handler.py b/kubernetes/client/models/v1_handler.py index 6544fc793f..f23f3f4161 100644 --- a/kubernetes/client/models/v1_handler.py +++ b/kubernetes/client/models/v1_handler.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, _exec=None, http_get=None, tcp_socket=None): self._http_get = http_get self._tcp_socket = tcp_socket - @property def _exec(self): """ diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler.py index 13c733214d..9a2103aa43 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py index 924ca7386a..57b677f1a3 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py index 3fc55eb8ab..47aa8b9bd0 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, max_replicas=None, min_replicas=None, scale_target_ref=None, self._scale_target_ref = scale_target_ref self._target_cpu_utilization_percentage = target_cpu_utilization_percentage - @property def max_replicas(self): """ diff --git a/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py b/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py index 915d85dad1..7201b8e955 100644 --- a/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py +++ b/kubernetes/client/models/v1_horizontal_pod_autoscaler_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, current_cpu_utilization_percentage=None, current_replicas=Non self._last_scale_time = last_scale_time self._observed_generation = observed_generation - @property def current_cpu_utilization_percentage(self): """ diff --git a/kubernetes/client/models/v1_host_path_volume_source.py b/kubernetes/client/models/v1_host_path_volume_source.py index 8202f242fe..b4835d075f 100644 --- a/kubernetes/client/models/v1_host_path_volume_source.py +++ b/kubernetes/client/models/v1_host_path_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -51,7 +40,6 @@ def __init__(self, path=None): self._path = path - @property def path(self): """ diff --git a/kubernetes/client/models/v1_http_get_action.py b/kubernetes/client/models/v1_http_get_action.py index 6a87046d79..dc927f4890 100644 --- a/kubernetes/client/models/v1_http_get_action.py +++ b/kubernetes/client/models/v1_http_get_action.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, host=None, http_headers=None, path=None, port=None, scheme=No self._port = port self._scheme = scheme - @property def host(self): """ diff --git a/kubernetes/client/models/v1_http_header.py b/kubernetes/client/models/v1_http_header.py index ebfb154445..0ad79326a1 100644 --- a/kubernetes/client/models/v1_http_header.py +++ b/kubernetes/client/models/v1_http_header.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, name=None, value=None): self._name = name self._value = value - @property def name(self): """ diff --git a/kubernetes/client/models/v1_iscsi_volume_source.py b/kubernetes/client/models/v1_iscsi_volume_source.py index d7d0169fa0..4e9bb2f912 100644 --- a/kubernetes/client/models/v1_iscsi_volume_source.py +++ b/kubernetes/client/models/v1_iscsi_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -66,7 +55,6 @@ def __init__(self, fs_type=None, iqn=None, iscsi_interface=None, lun=None, read_ self._read_only = read_only self._target_portal = target_portal - @property def fs_type(self): """ diff --git a/kubernetes/client/models/v1_job.py b/kubernetes/client/models/v1_job.py index f6c2d4d44b..18516eb58a 100644 --- a/kubernetes/client/models/v1_job.py +++ b/kubernetes/client/models/v1_job.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_job_condition.py b/kubernetes/client/models/v1_job_condition.py index 9482b29e57..1c692df18c 100644 --- a/kubernetes/client/models/v1_job_condition.py +++ b/kubernetes/client/models/v1_job_condition.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -66,7 +55,6 @@ def __init__(self, last_probe_time=None, last_transition_time=None, message=None self._status = status self._type = type - @property def last_probe_time(self): """ diff --git a/kubernetes/client/models/v1_job_list.py b/kubernetes/client/models/v1_job_list.py index 16d957a0e1..99f63b00fc 100644 --- a/kubernetes/client/models/v1_job_list.py +++ b/kubernetes/client/models/v1_job_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_job_spec.py b/kubernetes/client/models/v1_job_spec.py index 91fe2bbb3b..8e7badb2be 100644 --- a/kubernetes/client/models/v1_job_spec.py +++ b/kubernetes/client/models/v1_job_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -66,7 +55,6 @@ def __init__(self, active_deadline_seconds=None, completions=None, manual_select self._selector = selector self._template = template - @property def active_deadline_seconds(self): """ diff --git a/kubernetes/client/models/v1_job_status.py b/kubernetes/client/models/v1_job_status.py index dc8f9402c3..58b4fd7536 100644 --- a/kubernetes/client/models/v1_job_status.py +++ b/kubernetes/client/models/v1_job_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -66,7 +55,6 @@ def __init__(self, active=None, completion_time=None, conditions=None, failed=No self._start_time = start_time self._succeeded = succeeded - @property def active(self): """ diff --git a/kubernetes/client/models/v1_key_to_path.py b/kubernetes/client/models/v1_key_to_path.py index d17e266cdf..23ac6fbaa6 100644 --- a/kubernetes/client/models/v1_key_to_path.py +++ b/kubernetes/client/models/v1_key_to_path.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, key=None, mode=None, path=None): self._mode = mode self._path = path - @property def key(self): """ diff --git a/kubernetes/client/models/v1_lifecycle.py b/kubernetes/client/models/v1_lifecycle.py index 61e0a331d0..7d4e85a0f7 100644 --- a/kubernetes/client/models/v1_lifecycle.py +++ b/kubernetes/client/models/v1_lifecycle.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, post_start=None, pre_stop=None): self._post_start = post_start self._pre_stop = pre_stop - @property def post_start(self): """ diff --git a/kubernetes/client/models/v1_limit_range.py b/kubernetes/client/models/v1_limit_range.py index 66415f503c..ae2e87e4a6 100644 --- a/kubernetes/client/models/v1_limit_range.py +++ b/kubernetes/client/models/v1_limit_range.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None): self._metadata = metadata self._spec = spec - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_limit_range_item.py b/kubernetes/client/models/v1_limit_range_item.py index 348f36853d..ef6928f4ce 100644 --- a/kubernetes/client/models/v1_limit_range_item.py +++ b/kubernetes/client/models/v1_limit_range_item.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -66,7 +55,6 @@ def __init__(self, default=None, default_request=None, max=None, max_limit_reque self._min = min self._type = type - @property def default(self): """ diff --git a/kubernetes/client/models/v1_limit_range_list.py b/kubernetes/client/models/v1_limit_range_list.py index c23fafe9b3..1620b9cf1d 100644 --- a/kubernetes/client/models/v1_limit_range_list.py +++ b/kubernetes/client/models/v1_limit_range_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_limit_range_spec.py b/kubernetes/client/models/v1_limit_range_spec.py index e891f9d4c6..09313ba568 100644 --- a/kubernetes/client/models/v1_limit_range_spec.py +++ b/kubernetes/client/models/v1_limit_range_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -51,7 +40,6 @@ def __init__(self, limits=None): self._limits = limits - @property def limits(self): """ diff --git a/kubernetes/client/models/v1_load_balancer_ingress.py b/kubernetes/client/models/v1_load_balancer_ingress.py index e9d0c61eb5..1e22567fa5 100644 --- a/kubernetes/client/models/v1_load_balancer_ingress.py +++ b/kubernetes/client/models/v1_load_balancer_ingress.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, hostname=None, ip=None): self._hostname = hostname self._ip = ip - @property def hostname(self): """ diff --git a/kubernetes/client/models/v1_load_balancer_status.py b/kubernetes/client/models/v1_load_balancer_status.py index dc9d84a33e..c4c974d1ac 100644 --- a/kubernetes/client/models/v1_load_balancer_status.py +++ b/kubernetes/client/models/v1_load_balancer_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -51,7 +40,6 @@ def __init__(self, ingress=None): self._ingress = ingress - @property def ingress(self): """ diff --git a/kubernetes/client/models/v1_local_object_reference.py b/kubernetes/client/models/v1_local_object_reference.py index b58a94b1e8..22a8b8db2f 100644 --- a/kubernetes/client/models/v1_local_object_reference.py +++ b/kubernetes/client/models/v1_local_object_reference.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -51,7 +40,6 @@ def __init__(self, name=None): self._name = name - @property def name(self): """ diff --git a/kubernetes/client/models/v1_namespace.py b/kubernetes/client/models/v1_namespace.py index 6c693f596d..0cc08d2652 100644 --- a/kubernetes/client/models/v1_namespace.py +++ b/kubernetes/client/models/v1_namespace.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_namespace_list.py b/kubernetes/client/models/v1_namespace_list.py index 87a51a6061..e33d300167 100644 --- a/kubernetes/client/models/v1_namespace_list.py +++ b/kubernetes/client/models/v1_namespace_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_namespace_spec.py b/kubernetes/client/models/v1_namespace_spec.py index 04ec95e6de..547d82e884 100644 --- a/kubernetes/client/models/v1_namespace_spec.py +++ b/kubernetes/client/models/v1_namespace_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -51,7 +40,6 @@ def __init__(self, finalizers=None): self._finalizers = finalizers - @property def finalizers(self): """ diff --git a/kubernetes/client/models/v1_namespace_status.py b/kubernetes/client/models/v1_namespace_status.py index 282de0da94..4bdef24e7a 100644 --- a/kubernetes/client/models/v1_namespace_status.py +++ b/kubernetes/client/models/v1_namespace_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -51,7 +40,6 @@ def __init__(self, phase=None): self._phase = phase - @property def phase(self): """ diff --git a/kubernetes/client/models/v1_nfs_volume_source.py b/kubernetes/client/models/v1_nfs_volume_source.py index 6d9ad880a4..263e76f106 100644 --- a/kubernetes/client/models/v1_nfs_volume_source.py +++ b/kubernetes/client/models/v1_nfs_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, path=None, read_only=None, server=None): self._read_only = read_only self._server = server - @property def path(self): """ diff --git a/kubernetes/client/models/v1_node.py b/kubernetes/client/models/v1_node.py index a0b2a51856..b792ea9b68 100644 --- a/kubernetes/client/models/v1_node.py +++ b/kubernetes/client/models/v1_node.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_node_address.py b/kubernetes/client/models/v1_node_address.py index 2374d7d51f..31e1605f80 100644 --- a/kubernetes/client/models/v1_node_address.py +++ b/kubernetes/client/models/v1_node_address.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, address=None, type=None): self._address = address self._type = type - @property def address(self): """ diff --git a/kubernetes/client/models/v1_node_condition.py b/kubernetes/client/models/v1_node_condition.py index cb61478b1d..428135f595 100644 --- a/kubernetes/client/models/v1_node_condition.py +++ b/kubernetes/client/models/v1_node_condition.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -66,7 +55,6 @@ def __init__(self, last_heartbeat_time=None, last_transition_time=None, message= self._status = status self._type = type - @property def last_heartbeat_time(self): """ diff --git a/kubernetes/client/models/v1_node_daemon_endpoints.py b/kubernetes/client/models/v1_node_daemon_endpoints.py index 254ad2eec4..6bb373b381 100644 --- a/kubernetes/client/models/v1_node_daemon_endpoints.py +++ b/kubernetes/client/models/v1_node_daemon_endpoints.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -51,7 +40,6 @@ def __init__(self, kubelet_endpoint=None): self._kubelet_endpoint = kubelet_endpoint - @property def kubelet_endpoint(self): """ diff --git a/kubernetes/client/models/v1_node_list.py b/kubernetes/client/models/v1_node_list.py index 71224ea855..2e6ae3f616 100644 --- a/kubernetes/client/models/v1_node_list.py +++ b/kubernetes/client/models/v1_node_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_node_spec.py b/kubernetes/client/models/v1_node_spec.py index 8ce36b1725..e69d035aad 100644 --- a/kubernetes/client/models/v1_node_spec.py +++ b/kubernetes/client/models/v1_node_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, external_id=None, pod_cidr=None, provider_id=None, unschedula self._provider_id = provider_id self._unschedulable = unschedulable - @property def external_id(self): """ diff --git a/kubernetes/client/models/v1_node_status.py b/kubernetes/client/models/v1_node_status.py index 6e7857423a..8058bdabc0 100644 --- a/kubernetes/client/models/v1_node_status.py +++ b/kubernetes/client/models/v1_node_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -78,7 +67,6 @@ def __init__(self, addresses=None, allocatable=None, capacity=None, conditions=N self._volumes_attached = volumes_attached self._volumes_in_use = volumes_in_use - @property def addresses(self): """ diff --git a/kubernetes/client/models/v1_node_system_info.py b/kubernetes/client/models/v1_node_system_info.py index 7218f1c761..13df39c580 100644 --- a/kubernetes/client/models/v1_node_system_info.py +++ b/kubernetes/client/models/v1_node_system_info.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -78,7 +67,6 @@ def __init__(self, architecture=None, boot_id=None, container_runtime_version=No self._os_image = os_image self._system_uuid = system_uuid - @property def architecture(self): """ diff --git a/kubernetes/client/models/v1_object_field_selector.py b/kubernetes/client/models/v1_object_field_selector.py index c2c2b041a8..df2a12245e 100644 --- a/kubernetes/client/models/v1_object_field_selector.py +++ b/kubernetes/client/models/v1_object_field_selector.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, api_version=None, field_path=None): self._api_version = api_version self._field_path = field_path - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_object_meta.py b/kubernetes/client/models/v1_object_meta.py index ec4a060ef5..dc80bfca61 100644 --- a/kubernetes/client/models/v1_object_meta.py +++ b/kubernetes/client/models/v1_object_meta.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -93,7 +82,6 @@ def __init__(self, annotations=None, cluster_name=None, creation_timestamp=None, self._self_link = self_link self._uid = uid - @property def annotations(self): """ diff --git a/kubernetes/client/models/v1_object_reference.py b/kubernetes/client/models/v1_object_reference.py index 06cef32471..93b64d0048 100644 --- a/kubernetes/client/models/v1_object_reference.py +++ b/kubernetes/client/models/v1_object_reference.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -69,7 +58,6 @@ def __init__(self, api_version=None, field_path=None, kind=None, name=None, name self._resource_version = resource_version self._uid = uid - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_owner_reference.py b/kubernetes/client/models/v1_owner_reference.py index deb6f1445a..8fb88cdfd4 100644 --- a/kubernetes/client/models/v1_owner_reference.py +++ b/kubernetes/client/models/v1_owner_reference.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, controller=None, kind=None, name=None, uid= self._name = name self._uid = uid - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_persistent_volume.py b/kubernetes/client/models/v1_persistent_volume.py index 687c1ecda4..5f6d5e80b0 100644 --- a/kubernetes/client/models/v1_persistent_volume.py +++ b/kubernetes/client/models/v1_persistent_volume.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim.py b/kubernetes/client/models/v1_persistent_volume_claim.py index 1ba634619e..bf638bf079 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim.py +++ b/kubernetes/client/models/v1_persistent_volume_claim.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim_list.py b/kubernetes/client/models/v1_persistent_volume_claim_list.py index f41353a637..0424df1021 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_list.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim_spec.py b/kubernetes/client/models/v1_persistent_volume_claim_spec.py index 20b846d2a0..49877dc353 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_spec.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, access_modes=None, resources=None, selector=None, volume_name self._selector = selector self._volume_name = volume_name - @property def access_modes(self): """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim_status.py b/kubernetes/client/models/v1_persistent_volume_claim_status.py index 03abfc1ffa..fbd9cb1ce2 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_status.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, access_modes=None, capacity=None, phase=None): self._capacity = capacity self._phase = phase - @property def access_modes(self): """ diff --git a/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py b/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py index 7f194ae6d3..c7550b1ab3 100644 --- a/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py +++ b/kubernetes/client/models/v1_persistent_volume_claim_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, claim_name=None, read_only=None): self._claim_name = claim_name self._read_only = read_only - @property def claim_name(self): """ diff --git a/kubernetes/client/models/v1_persistent_volume_list.py b/kubernetes/client/models/v1_persistent_volume_list.py index ca4538306a..09086f615d 100644 --- a/kubernetes/client/models/v1_persistent_volume_list.py +++ b/kubernetes/client/models/v1_persistent_volume_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_persistent_volume_spec.py b/kubernetes/client/models/v1_persistent_volume_spec.py index 3c2d84c751..48f2dc297d 100644 --- a/kubernetes/client/models/v1_persistent_volume_spec.py +++ b/kubernetes/client/models/v1_persistent_volume_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -111,7 +100,6 @@ def __init__(self, access_modes=None, aws_elastic_block_store=None, azure_disk=N self._rbd = rbd self._vsphere_volume = vsphere_volume - @property def access_modes(self): """ diff --git a/kubernetes/client/models/v1_persistent_volume_status.py b/kubernetes/client/models/v1_persistent_volume_status.py index 05d9750de8..04d937a5d7 100644 --- a/kubernetes/client/models/v1_persistent_volume_status.py +++ b/kubernetes/client/models/v1_persistent_volume_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, message=None, phase=None, reason=None): self._phase = phase self._reason = reason - @property def message(self): """ diff --git a/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py b/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py index 7e60805432..2f564ff97e 100644 --- a/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py +++ b/kubernetes/client/models/v1_photon_persistent_disk_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, fs_type=None, pd_id=None): self._fs_type = fs_type self._pd_id = pd_id - @property def fs_type(self): """ diff --git a/kubernetes/client/models/v1_pod.py b/kubernetes/client/models/v1_pod.py index 4d7d91835c..1f7a6c5e64 100644 --- a/kubernetes/client/models/v1_pod.py +++ b/kubernetes/client/models/v1_pod.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_pod_condition.py b/kubernetes/client/models/v1_pod_condition.py index 5233cc4d36..7d182b0505 100644 --- a/kubernetes/client/models/v1_pod_condition.py +++ b/kubernetes/client/models/v1_pod_condition.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -66,7 +55,6 @@ def __init__(self, last_probe_time=None, last_transition_time=None, message=None self._status = status self._type = type - @property def last_probe_time(self): """ diff --git a/kubernetes/client/models/v1_pod_list.py b/kubernetes/client/models/v1_pod_list.py index 9f7a3b4838..6e3bc5942f 100644 --- a/kubernetes/client/models/v1_pod_list.py +++ b/kubernetes/client/models/v1_pod_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_pod_security_context.py b/kubernetes/client/models/v1_pod_security_context.py index 8cc364122c..66c25afaa2 100644 --- a/kubernetes/client/models/v1_pod_security_context.py +++ b/kubernetes/client/models/v1_pod_security_context.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, fs_group=None, run_as_non_root=None, run_as_user=None, se_lin self._se_linux_options = se_linux_options self._supplemental_groups = supplemental_groups - @property def fs_group(self): """ diff --git a/kubernetes/client/models/v1_pod_spec.py b/kubernetes/client/models/v1_pod_spec.py index a2ca08ec15..b1b5b659c9 100644 --- a/kubernetes/client/models/v1_pod_spec.py +++ b/kubernetes/client/models/v1_pod_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -99,7 +88,6 @@ def __init__(self, active_deadline_seconds=None, containers=None, dns_policy=Non self._termination_grace_period_seconds = termination_grace_period_seconds self._volumes = volumes - @property def active_deadline_seconds(self): """ diff --git a/kubernetes/client/models/v1_pod_status.py b/kubernetes/client/models/v1_pod_status.py index 7a35b23e00..4361495b72 100644 --- a/kubernetes/client/models/v1_pod_status.py +++ b/kubernetes/client/models/v1_pod_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -72,7 +61,6 @@ def __init__(self, conditions=None, container_statuses=None, host_ip=None, messa self._reason = reason self._start_time = start_time - @property def conditions(self): """ diff --git a/kubernetes/client/models/v1_pod_template.py b/kubernetes/client/models/v1_pod_template.py index 0e03b09384..d95c51b88b 100644 --- a/kubernetes/client/models/v1_pod_template.py +++ b/kubernetes/client/models/v1_pod_template.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, template=None): self._metadata = metadata self._template = template - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_pod_template_list.py b/kubernetes/client/models/v1_pod_template_list.py index 00e7ea71d8..9a0a2284a3 100644 --- a/kubernetes/client/models/v1_pod_template_list.py +++ b/kubernetes/client/models/v1_pod_template_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_pod_template_spec.py b/kubernetes/client/models/v1_pod_template_spec.py index e8f1744d2c..b2c49faa6f 100644 --- a/kubernetes/client/models/v1_pod_template_spec.py +++ b/kubernetes/client/models/v1_pod_template_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, metadata=None, spec=None): self._metadata = metadata self._spec = spec - @property def metadata(self): """ diff --git a/kubernetes/client/models/v1_preconditions.py b/kubernetes/client/models/v1_preconditions.py index b20f31e34f..1a6ebf9f03 100644 --- a/kubernetes/client/models/v1_preconditions.py +++ b/kubernetes/client/models/v1_preconditions.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -51,7 +40,6 @@ def __init__(self, uid=None): self._uid = uid - @property def uid(self): """ diff --git a/kubernetes/client/models/v1_probe.py b/kubernetes/client/models/v1_probe.py index ffc0d0c80d..6520feb544 100644 --- a/kubernetes/client/models/v1_probe.py +++ b/kubernetes/client/models/v1_probe.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -72,7 +61,6 @@ def __init__(self, _exec=None, failure_threshold=None, http_get=None, initial_de self._tcp_socket = tcp_socket self._timeout_seconds = timeout_seconds - @property def _exec(self): """ diff --git a/kubernetes/client/models/v1_quobyte_volume_source.py b/kubernetes/client/models/v1_quobyte_volume_source.py index fc7410c347..ee4c72f54c 100644 --- a/kubernetes/client/models/v1_quobyte_volume_source.py +++ b/kubernetes/client/models/v1_quobyte_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, group=None, read_only=None, registry=None, user=None, volume= self._user = user self._volume = volume - @property def group(self): """ diff --git a/kubernetes/client/models/v1_rbd_volume_source.py b/kubernetes/client/models/v1_rbd_volume_source.py index 51e0a782a5..622963c77c 100644 --- a/kubernetes/client/models/v1_rbd_volume_source.py +++ b/kubernetes/client/models/v1_rbd_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -72,7 +61,6 @@ def __init__(self, fs_type=None, image=None, keyring=None, monitors=None, pool=N self._secret_ref = secret_ref self._user = user - @property def fs_type(self): """ diff --git a/kubernetes/client/models/v1_replication_controller.py b/kubernetes/client/models/v1_replication_controller.py index bc0ff66810..f3a8d4e5ca 100644 --- a/kubernetes/client/models/v1_replication_controller.py +++ b/kubernetes/client/models/v1_replication_controller.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_replication_controller_condition.py b/kubernetes/client/models/v1_replication_controller_condition.py index b5970a1142..2a9a2c9e18 100644 --- a/kubernetes/client/models/v1_replication_controller_condition.py +++ b/kubernetes/client/models/v1_replication_controller_condition.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, last_transition_time=None, message=None, reason=None, status= self._status = status self._type = type - @property def last_transition_time(self): """ diff --git a/kubernetes/client/models/v1_replication_controller_list.py b/kubernetes/client/models/v1_replication_controller_list.py index a46ee611f6..9600573e3c 100644 --- a/kubernetes/client/models/v1_replication_controller_list.py +++ b/kubernetes/client/models/v1_replication_controller_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_replication_controller_spec.py b/kubernetes/client/models/v1_replication_controller_spec.py index 3fbde051a9..007550f21a 100644 --- a/kubernetes/client/models/v1_replication_controller_spec.py +++ b/kubernetes/client/models/v1_replication_controller_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, min_ready_seconds=None, replicas=None, selector=None, templat self._selector = selector self._template = template - @property def min_ready_seconds(self): """ diff --git a/kubernetes/client/models/v1_replication_controller_status.py b/kubernetes/client/models/v1_replication_controller_status.py index 68c4fee8f7..dccd63d5d6 100644 --- a/kubernetes/client/models/v1_replication_controller_status.py +++ b/kubernetes/client/models/v1_replication_controller_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -66,7 +55,6 @@ def __init__(self, available_replicas=None, conditions=None, fully_labeled_repli self._ready_replicas = ready_replicas self._replicas = replicas - @property def available_replicas(self): """ diff --git a/kubernetes/client/models/v1_resource_field_selector.py b/kubernetes/client/models/v1_resource_field_selector.py index e2e3090392..7695b27fb7 100644 --- a/kubernetes/client/models/v1_resource_field_selector.py +++ b/kubernetes/client/models/v1_resource_field_selector.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, container_name=None, divisor=None, resource=None): self._divisor = divisor self._resource = resource - @property def container_name(self): """ diff --git a/kubernetes/client/models/v1_resource_quota.py b/kubernetes/client/models/v1_resource_quota.py index 4bc69a142f..1166874562 100644 --- a/kubernetes/client/models/v1_resource_quota.py +++ b/kubernetes/client/models/v1_resource_quota.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_resource_quota_list.py b/kubernetes/client/models/v1_resource_quota_list.py index 96a63baa21..7629cfbbcb 100644 --- a/kubernetes/client/models/v1_resource_quota_list.py +++ b/kubernetes/client/models/v1_resource_quota_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_resource_quota_spec.py b/kubernetes/client/models/v1_resource_quota_spec.py index 2b8e8fdc75..60ccc733ab 100644 --- a/kubernetes/client/models/v1_resource_quota_spec.py +++ b/kubernetes/client/models/v1_resource_quota_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, hard=None, scopes=None): self._hard = hard self._scopes = scopes - @property def hard(self): """ diff --git a/kubernetes/client/models/v1_resource_quota_status.py b/kubernetes/client/models/v1_resource_quota_status.py index 06b3548efe..047c4b35b6 100644 --- a/kubernetes/client/models/v1_resource_quota_status.py +++ b/kubernetes/client/models/v1_resource_quota_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, hard=None, used=None): self._hard = hard self._used = used - @property def hard(self): """ diff --git a/kubernetes/client/models/v1_resource_requirements.py b/kubernetes/client/models/v1_resource_requirements.py index 0503bd67da..52f262b020 100644 --- a/kubernetes/client/models/v1_resource_requirements.py +++ b/kubernetes/client/models/v1_resource_requirements.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, limits=None, requests=None): self._limits = limits self._requests = requests - @property def limits(self): """ diff --git a/kubernetes/client/models/v1_scale.py b/kubernetes/client/models/v1_scale.py index 50573ec69f..bff01014f7 100644 --- a/kubernetes/client/models/v1_scale.py +++ b/kubernetes/client/models/v1_scale.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_scale_spec.py b/kubernetes/client/models/v1_scale_spec.py index 2337b7b7c4..4cbe438899 100644 --- a/kubernetes/client/models/v1_scale_spec.py +++ b/kubernetes/client/models/v1_scale_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -51,7 +40,6 @@ def __init__(self, replicas=None): self._replicas = replicas - @property def replicas(self): """ diff --git a/kubernetes/client/models/v1_scale_status.py b/kubernetes/client/models/v1_scale_status.py index 4691169c96..f3c5fbe86a 100644 --- a/kubernetes/client/models/v1_scale_status.py +++ b/kubernetes/client/models/v1_scale_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, replicas=None, selector=None): self._replicas = replicas self._selector = selector - @property def replicas(self): """ diff --git a/kubernetes/client/models/v1_se_linux_options.py b/kubernetes/client/models/v1_se_linux_options.py index 732eb9fbed..8737010b48 100644 --- a/kubernetes/client/models/v1_se_linux_options.py +++ b/kubernetes/client/models/v1_se_linux_options.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, level=None, role=None, type=None, user=None): self._type = type self._user = user - @property def level(self): """ diff --git a/kubernetes/client/models/v1_secret.py b/kubernetes/client/models/v1_secret.py index 781aff789d..848137e6c9 100644 --- a/kubernetes/client/models/v1_secret.py +++ b/kubernetes/client/models/v1_secret.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -66,7 +55,6 @@ def __init__(self, api_version=None, data=None, kind=None, metadata=None, string self._string_data = string_data self._type = type - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_secret_key_selector.py b/kubernetes/client/models/v1_secret_key_selector.py index d996d60df7..b1785e5d3b 100644 --- a/kubernetes/client/models/v1_secret_key_selector.py +++ b/kubernetes/client/models/v1_secret_key_selector.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, key=None, name=None): self._key = key self._name = name - @property def key(self): """ diff --git a/kubernetes/client/models/v1_secret_list.py b/kubernetes/client/models/v1_secret_list.py index 469cb24ca8..0fccb19d7f 100644 --- a/kubernetes/client/models/v1_secret_list.py +++ b/kubernetes/client/models/v1_secret_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_secret_volume_source.py b/kubernetes/client/models/v1_secret_volume_source.py index 42354f725d..ed5a5241b6 100644 --- a/kubernetes/client/models/v1_secret_volume_source.py +++ b/kubernetes/client/models/v1_secret_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, default_mode=None, items=None, secret_name=None): self._items = items self._secret_name = secret_name - @property def default_mode(self): """ diff --git a/kubernetes/client/models/v1_security_context.py b/kubernetes/client/models/v1_security_context.py index b8d8e2595c..c43da9f66b 100644 --- a/kubernetes/client/models/v1_security_context.py +++ b/kubernetes/client/models/v1_security_context.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -66,7 +55,6 @@ def __init__(self, capabilities=None, privileged=None, read_only_root_filesystem self._run_as_user = run_as_user self._se_linux_options = se_linux_options - @property def capabilities(self): """ diff --git a/kubernetes/client/models/v1_service.py b/kubernetes/client/models/v1_service.py index 0f6fdbd3ea..7ff5510239 100644 --- a/kubernetes/client/models/v1_service.py +++ b/kubernetes/client/models/v1_service.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_service_account.py b/kubernetes/client/models/v1_service_account.py index 32dfe79032..b3d46adf6d 100644 --- a/kubernetes/client/models/v1_service_account.py +++ b/kubernetes/client/models/v1_service_account.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, image_pull_secrets=None, kind=None, metadat self._metadata = metadata self._secrets = secrets - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_service_account_list.py b/kubernetes/client/models/v1_service_account_list.py index b24bf90301..baf1949639 100644 --- a/kubernetes/client/models/v1_service_account_list.py +++ b/kubernetes/client/models/v1_service_account_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_service_list.py b/kubernetes/client/models/v1_service_list.py index 4ec8ade829..b72ebc5709 100644 --- a/kubernetes/client/models/v1_service_list.py +++ b/kubernetes/client/models/v1_service_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1_service_port.py b/kubernetes/client/models/v1_service_port.py index 7502b857ae..7d2336208e 100644 --- a/kubernetes/client/models/v1_service_port.py +++ b/kubernetes/client/models/v1_service_port.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, name=None, node_port=None, port=None, protocol=None, target_p self._protocol = protocol self._target_port = target_port - @property def name(self): """ diff --git a/kubernetes/client/models/v1_service_spec.py b/kubernetes/client/models/v1_service_spec.py index abdda04f1b..58b8c9a08e 100644 --- a/kubernetes/client/models/v1_service_spec.py +++ b/kubernetes/client/models/v1_service_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -78,7 +67,6 @@ def __init__(self, cluster_ip=None, deprecated_public_i_ps=None, external_i_ps=N self._session_affinity = session_affinity self._type = type - @property def cluster_ip(self): """ diff --git a/kubernetes/client/models/v1_service_status.py b/kubernetes/client/models/v1_service_status.py index d0bb78593d..9b2e6271dd 100644 --- a/kubernetes/client/models/v1_service_status.py +++ b/kubernetes/client/models/v1_service_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -51,7 +40,6 @@ def __init__(self, load_balancer=None): self._load_balancer = load_balancer - @property def load_balancer(self): """ diff --git a/kubernetes/client/models/v1_tcp_socket_action.py b/kubernetes/client/models/v1_tcp_socket_action.py index 080a6ff604..f5bfcd46c6 100644 --- a/kubernetes/client/models/v1_tcp_socket_action.py +++ b/kubernetes/client/models/v1_tcp_socket_action.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -51,7 +40,6 @@ def __init__(self, port=None): self._port = port - @property def port(self): """ diff --git a/kubernetes/client/models/v1_volume.py b/kubernetes/client/models/v1_volume.py index 160f50aa24..5476e3b82c 100644 --- a/kubernetes/client/models/v1_volume.py +++ b/kubernetes/client/models/v1_volume.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -120,7 +109,6 @@ def __init__(self, aws_elastic_block_store=None, azure_disk=None, azure_file=Non self._secret = secret self._vsphere_volume = vsphere_volume - @property def aws_elastic_block_store(self): """ diff --git a/kubernetes/client/models/v1_volume_mount.py b/kubernetes/client/models/v1_volume_mount.py index 208874ffe2..5a8ac7ee5a 100644 --- a/kubernetes/client/models/v1_volume_mount.py +++ b/kubernetes/client/models/v1_volume_mount.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, mount_path=None, name=None, read_only=None, sub_path=None): self._read_only = read_only self._sub_path = sub_path - @property def mount_path(self): """ diff --git a/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py b/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py index f2d37bc09b..6624552431 100644 --- a/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py +++ b/kubernetes/client/models/v1_vsphere_virtual_disk_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, fs_type=None, volume_path=None): self._fs_type = fs_type self._volume_path = volume_path - @property def fs_type(self): """ diff --git a/kubernetes/client/models/v1alpha1_certificate_signing_request.py b/kubernetes/client/models/v1alpha1_certificate_signing_request.py index 167e0d9ef0..96fca5770f 100644 --- a/kubernetes/client/models/v1alpha1_certificate_signing_request.py +++ b/kubernetes/client/models/v1alpha1_certificate_signing_request.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ @@ -115,7 +103,6 @@ def metadata(self): """ Gets the metadata of this V1alpha1CertificateSigningRequest. - :return: The metadata of this V1alpha1CertificateSigningRequest. :rtype: V1ObjectMeta """ @@ -126,7 +113,6 @@ def metadata(self, metadata): """ Sets the metadata of this V1alpha1CertificateSigningRequest. - :param metadata: The metadata of this V1alpha1CertificateSigningRequest. :type: V1ObjectMeta """ diff --git a/kubernetes/client/models/v1alpha1_certificate_signing_request_condition.py b/kubernetes/client/models/v1alpha1_certificate_signing_request_condition.py index eb1cb189db..ee10ad07ce 100644 --- a/kubernetes/client/models/v1alpha1_certificate_signing_request_condition.py +++ b/kubernetes/client/models/v1alpha1_certificate_signing_request_condition.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, last_update_time=None, message=None, reason=None, type=None): self._reason = reason self._type = type - @property def last_update_time(self): """ diff --git a/kubernetes/client/models/v1alpha1_certificate_signing_request_list.py b/kubernetes/client/models/v1alpha1_certificate_signing_request_list.py index b8c1d8c7e3..3ff8356419 100644 --- a/kubernetes/client/models/v1alpha1_certificate_signing_request_list.py +++ b/kubernetes/client/models/v1alpha1_certificate_signing_request_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ @@ -89,7 +77,6 @@ def items(self): """ Gets the items of this V1alpha1CertificateSigningRequestList. - :return: The items of this V1alpha1CertificateSigningRequestList. :rtype: list[V1alpha1CertificateSigningRequest] """ @@ -100,7 +87,6 @@ def items(self, items): """ Sets the items of this V1alpha1CertificateSigningRequestList. - :param items: The items of this V1alpha1CertificateSigningRequestList. :type: list[V1alpha1CertificateSigningRequest] """ @@ -137,7 +123,6 @@ def metadata(self): """ Gets the metadata of this V1alpha1CertificateSigningRequestList. - :return: The metadata of this V1alpha1CertificateSigningRequestList. :rtype: UnversionedListMeta """ @@ -148,7 +133,6 @@ def metadata(self, metadata): """ Sets the metadata of this V1alpha1CertificateSigningRequestList. - :param metadata: The metadata of this V1alpha1CertificateSigningRequestList. :type: UnversionedListMeta """ diff --git a/kubernetes/client/models/v1alpha1_certificate_signing_request_spec.py b/kubernetes/client/models/v1alpha1_certificate_signing_request_spec.py index 72b4539a44..8a1e919fc9 100644 --- a/kubernetes/client/models/v1alpha1_certificate_signing_request_spec.py +++ b/kubernetes/client/models/v1alpha1_certificate_signing_request_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,13 +49,11 @@ def __init__(self, groups=None, request=None, uid=None, username=None): self._uid = uid self._username = username - @property def groups(self): """ Gets the groups of this V1alpha1CertificateSigningRequestSpec. - :return: The groups of this V1alpha1CertificateSigningRequestSpec. :rtype: list[str] """ @@ -77,7 +64,6 @@ def groups(self, groups): """ Sets the groups of this V1alpha1CertificateSigningRequestSpec. - :param groups: The groups of this V1alpha1CertificateSigningRequestSpec. :type: list[str] """ @@ -114,7 +100,6 @@ def uid(self): """ Gets the uid of this V1alpha1CertificateSigningRequestSpec. - :return: The uid of this V1alpha1CertificateSigningRequestSpec. :rtype: str """ @@ -125,7 +110,6 @@ def uid(self, uid): """ Sets the uid of this V1alpha1CertificateSigningRequestSpec. - :param uid: The uid of this V1alpha1CertificateSigningRequestSpec. :type: str """ diff --git a/kubernetes/client/models/v1alpha1_certificate_signing_request_status.py b/kubernetes/client/models/v1alpha1_certificate_signing_request_status.py index 0acf460bf9..92f16bfad0 100644 --- a/kubernetes/client/models/v1alpha1_certificate_signing_request_status.py +++ b/kubernetes/client/models/v1alpha1_certificate_signing_request_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, certificate=None, conditions=None): self._certificate = certificate self._conditions = conditions - @property def certificate(self): """ diff --git a/kubernetes/client/models/v1alpha1_cluster_role.py b/kubernetes/client/models/v1alpha1_cluster_role.py index f2d5c2f0fd..0e1dcd87ff 100644 --- a/kubernetes/client/models/v1alpha1_cluster_role.py +++ b/kubernetes/client/models/v1alpha1_cluster_role.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, rules=None): self._metadata = metadata self._rules = rules - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1alpha1_cluster_role_binding.py b/kubernetes/client/models/v1alpha1_cluster_role_binding.py index d2527830b4..4e3f346adb 100644 --- a/kubernetes/client/models/v1alpha1_cluster_role_binding.py +++ b/kubernetes/client/models/v1alpha1_cluster_role_binding.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, role_ref=None, su self._role_ref = role_ref self._subjects = subjects - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1alpha1_cluster_role_binding_list.py b/kubernetes/client/models/v1alpha1_cluster_role_binding_list.py index d191579d45..e7fdbb9381 100644 --- a/kubernetes/client/models/v1alpha1_cluster_role_binding_list.py +++ b/kubernetes/client/models/v1alpha1_cluster_role_binding_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1alpha1_cluster_role_list.py b/kubernetes/client/models/v1alpha1_cluster_role_list.py index d6ca24e981..4a46c991af 100644 --- a/kubernetes/client/models/v1alpha1_cluster_role_list.py +++ b/kubernetes/client/models/v1alpha1_cluster_role_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1alpha1_policy_rule.py b/kubernetes/client/models/v1alpha1_policy_rule.py index 6823995e6d..218809b9bf 100644 --- a/kubernetes/client/models/v1alpha1_policy_rule.py +++ b/kubernetes/client/models/v1alpha1_policy_rule.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -66,7 +55,6 @@ def __init__(self, api_groups=None, attribute_restrictions=None, non_resource_ur self._resources = resources self._verbs = verbs - @property def api_groups(self): """ diff --git a/kubernetes/client/models/v1alpha1_role.py b/kubernetes/client/models/v1alpha1_role.py index ce2b5f1a9c..c9a7aaadbb 100644 --- a/kubernetes/client/models/v1alpha1_role.py +++ b/kubernetes/client/models/v1alpha1_role.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, rules=None): self._metadata = metadata self._rules = rules - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1alpha1_role_binding.py b/kubernetes/client/models/v1alpha1_role_binding.py index 09bb37b406..a1c644160f 100644 --- a/kubernetes/client/models/v1alpha1_role_binding.py +++ b/kubernetes/client/models/v1alpha1_role_binding.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, role_ref=None, su self._role_ref = role_ref self._subjects = subjects - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1alpha1_role_binding_list.py b/kubernetes/client/models/v1alpha1_role_binding_list.py index bf50099d15..e2011fc733 100644 --- a/kubernetes/client/models/v1alpha1_role_binding_list.py +++ b/kubernetes/client/models/v1alpha1_role_binding_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1alpha1_role_list.py b/kubernetes/client/models/v1alpha1_role_list.py index aa4b7c73e5..4272c64988 100644 --- a/kubernetes/client/models/v1alpha1_role_list.py +++ b/kubernetes/client/models/v1alpha1_role_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1alpha1_role_ref.py b/kubernetes/client/models/v1alpha1_role_ref.py index 22d0a30a7f..2a05797883 100644 --- a/kubernetes/client/models/v1alpha1_role_ref.py +++ b/kubernetes/client/models/v1alpha1_role_ref.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, api_group=None, kind=None, name=None): self._kind = kind self._name = name - @property def api_group(self): """ diff --git a/kubernetes/client/models/v1alpha1_subject.py b/kubernetes/client/models/v1alpha1_subject.py index df6c16d988..214e295294 100644 --- a/kubernetes/client/models/v1alpha1_subject.py +++ b/kubernetes/client/models/v1alpha1_subject.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, kind=None, name=None, namespace=None): self._name = name self._namespace = namespace - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1beta1_api_version.py b/kubernetes/client/models/v1beta1_api_version.py index bdee853420..2f99a0065c 100644 --- a/kubernetes/client/models/v1beta1_api_version.py +++ b/kubernetes/client/models/v1beta1_api_version.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -51,7 +40,6 @@ def __init__(self, name=None): self._name = name - @property def name(self): """ diff --git a/kubernetes/client/models/v1beta1_cpu_target_utilization.py b/kubernetes/client/models/v1beta1_cpu_target_utilization.py index 7054108316..46c23427f4 100644 --- a/kubernetes/client/models/v1beta1_cpu_target_utilization.py +++ b/kubernetes/client/models/v1beta1_cpu_target_utilization.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -51,7 +40,6 @@ def __init__(self, target_percentage=None): self._target_percentage = target_percentage - @property def target_percentage(self): """ diff --git a/kubernetes/client/models/v1beta1_daemon_set.py b/kubernetes/client/models/v1beta1_daemon_set.py index ff2c40fd54..bf8b59c9c5 100644 --- a/kubernetes/client/models/v1beta1_daemon_set.py +++ b/kubernetes/client/models/v1beta1_daemon_set.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1beta1_daemon_set_list.py b/kubernetes/client/models/v1beta1_daemon_set_list.py index 17f8af5da6..ba2552d852 100644 --- a/kubernetes/client/models/v1beta1_daemon_set_list.py +++ b/kubernetes/client/models/v1beta1_daemon_set_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1beta1_daemon_set_spec.py b/kubernetes/client/models/v1beta1_daemon_set_spec.py index 47bc20b685..7acd73585a 100644 --- a/kubernetes/client/models/v1beta1_daemon_set_spec.py +++ b/kubernetes/client/models/v1beta1_daemon_set_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, selector=None, template=None): self._selector = selector self._template = template - @property def selector(self): """ diff --git a/kubernetes/client/models/v1beta1_daemon_set_status.py b/kubernetes/client/models/v1beta1_daemon_set_status.py index e75362b08a..804d356b7c 100644 --- a/kubernetes/client/models/v1beta1_daemon_set_status.py +++ b/kubernetes/client/models/v1beta1_daemon_set_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, current_number_scheduled=None, desired_number_scheduled=None, self._number_misscheduled = number_misscheduled self._number_ready = number_ready - @property def current_number_scheduled(self): """ diff --git a/kubernetes/client/models/v1beta1_deployment.py b/kubernetes/client/models/v1beta1_deployment.py index 08d17193b4..d47cc6ffdd 100644 --- a/kubernetes/client/models/v1beta1_deployment.py +++ b/kubernetes/client/models/v1beta1_deployment.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1beta1_deployment_condition.py b/kubernetes/client/models/v1beta1_deployment_condition.py index fdde133937..e3987f6cf2 100644 --- a/kubernetes/client/models/v1beta1_deployment_condition.py +++ b/kubernetes/client/models/v1beta1_deployment_condition.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -66,7 +55,6 @@ def __init__(self, last_transition_time=None, last_update_time=None, message=Non self._status = status self._type = type - @property def last_transition_time(self): """ diff --git a/kubernetes/client/models/v1beta1_deployment_list.py b/kubernetes/client/models/v1beta1_deployment_list.py index b47e7076c4..5a8dc03838 100644 --- a/kubernetes/client/models/v1beta1_deployment_list.py +++ b/kubernetes/client/models/v1beta1_deployment_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1beta1_deployment_rollback.py b/kubernetes/client/models/v1beta1_deployment_rollback.py index c33d131d43..6a9d46dd55 100644 --- a/kubernetes/client/models/v1beta1_deployment_rollback.py +++ b/kubernetes/client/models/v1beta1_deployment_rollback.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, name=None, rollback_to=None, upd self._rollback_to = rollback_to self._updated_annotations = updated_annotations - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1beta1_deployment_spec.py b/kubernetes/client/models/v1beta1_deployment_spec.py index 0e27b7e3de..30565f5293 100644 --- a/kubernetes/client/models/v1beta1_deployment_spec.py +++ b/kubernetes/client/models/v1beta1_deployment_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -75,7 +64,6 @@ def __init__(self, min_ready_seconds=None, paused=None, progress_deadline_second self._strategy = strategy self._template = template - @property def min_ready_seconds(self): """ diff --git a/kubernetes/client/models/v1beta1_deployment_status.py b/kubernetes/client/models/v1beta1_deployment_status.py index 5b0dc0fd9f..49158739d6 100644 --- a/kubernetes/client/models/v1beta1_deployment_status.py +++ b/kubernetes/client/models/v1beta1_deployment_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -66,7 +55,6 @@ def __init__(self, available_replicas=None, conditions=None, observed_generation self._unavailable_replicas = unavailable_replicas self._updated_replicas = updated_replicas - @property def available_replicas(self): """ diff --git a/kubernetes/client/models/v1beta1_deployment_strategy.py b/kubernetes/client/models/v1beta1_deployment_strategy.py index 2479584abd..6e551ad82c 100644 --- a/kubernetes/client/models/v1beta1_deployment_strategy.py +++ b/kubernetes/client/models/v1beta1_deployment_strategy.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, rolling_update=None, type=None): self._rolling_update = rolling_update self._type = type - @property def rolling_update(self): """ diff --git a/kubernetes/client/models/v1beta1_eviction.py b/kubernetes/client/models/v1beta1_eviction.py index fdc4b285f1..2f81cc8269 100644 --- a/kubernetes/client/models/v1beta1_eviction.py +++ b/kubernetes/client/models/v1beta1_eviction.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, delete_options=None, kind=None, metadata=No self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler.py b/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler.py index 834274214c..9287720d31 100644 --- a/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler.py +++ b/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler_list.py b/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler_list.py index 4b957d4277..cf269fb9dc 100644 --- a/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler_list.py +++ b/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler_spec.py b/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler_spec.py index 1d3aea5c68..03fa0fb964 100644 --- a/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, cpu_utilization=None, max_replicas=None, min_replicas=None, s self._min_replicas = min_replicas self._scale_ref = scale_ref - @property def cpu_utilization(self): """ diff --git a/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler_status.py b/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler_status.py index 97a9b2e398..0b0ac7bd67 100644 --- a/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler_status.py +++ b/kubernetes/client/models/v1beta1_horizontal_pod_autoscaler_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, current_cpu_utilization_percentage=None, current_replicas=Non self._last_scale_time = last_scale_time self._observed_generation = observed_generation - @property def current_cpu_utilization_percentage(self): """ diff --git a/kubernetes/client/models/v1beta1_http_ingress_path.py b/kubernetes/client/models/v1beta1_http_ingress_path.py index d90c55b7e7..d8f1c90b2d 100644 --- a/kubernetes/client/models/v1beta1_http_ingress_path.py +++ b/kubernetes/client/models/v1beta1_http_ingress_path.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, backend=None, path=None): self._backend = backend self._path = path - @property def backend(self): """ diff --git a/kubernetes/client/models/v1beta1_http_ingress_rule_value.py b/kubernetes/client/models/v1beta1_http_ingress_rule_value.py index 713e416b0a..168b201cfa 100644 --- a/kubernetes/client/models/v1beta1_http_ingress_rule_value.py +++ b/kubernetes/client/models/v1beta1_http_ingress_rule_value.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -51,7 +40,6 @@ def __init__(self, paths=None): self._paths = paths - @property def paths(self): """ diff --git a/kubernetes/client/models/v1beta1_ingress.py b/kubernetes/client/models/v1beta1_ingress.py index dfe24a622f..e7b9fb20d7 100644 --- a/kubernetes/client/models/v1beta1_ingress.py +++ b/kubernetes/client/models/v1beta1_ingress.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1beta1_ingress_backend.py b/kubernetes/client/models/v1beta1_ingress_backend.py index 84f0bd3823..0fddafade5 100644 --- a/kubernetes/client/models/v1beta1_ingress_backend.py +++ b/kubernetes/client/models/v1beta1_ingress_backend.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, service_name=None, service_port=None): self._service_name = service_name self._service_port = service_port - @property def service_name(self): """ diff --git a/kubernetes/client/models/v1beta1_ingress_list.py b/kubernetes/client/models/v1beta1_ingress_list.py index f07394300c..5339855b13 100644 --- a/kubernetes/client/models/v1beta1_ingress_list.py +++ b/kubernetes/client/models/v1beta1_ingress_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1beta1_ingress_rule.py b/kubernetes/client/models/v1beta1_ingress_rule.py index be95df715e..ca5246504f 100644 --- a/kubernetes/client/models/v1beta1_ingress_rule.py +++ b/kubernetes/client/models/v1beta1_ingress_rule.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, host=None, http=None): self._host = host self._http = http - @property def host(self): """ @@ -83,7 +71,6 @@ def http(self): """ Gets the http of this V1beta1IngressRule. - :return: The http of this V1beta1IngressRule. :rtype: V1beta1HTTPIngressRuleValue """ @@ -94,7 +81,6 @@ def http(self, http): """ Sets the http of this V1beta1IngressRule. - :param http: The http of this V1beta1IngressRule. :type: V1beta1HTTPIngressRuleValue """ diff --git a/kubernetes/client/models/v1beta1_ingress_spec.py b/kubernetes/client/models/v1beta1_ingress_spec.py index b462c4ddde..49f30c197f 100644 --- a/kubernetes/client/models/v1beta1_ingress_spec.py +++ b/kubernetes/client/models/v1beta1_ingress_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, backend=None, rules=None, tls=None): self._rules = rules self._tls = tls - @property def backend(self): """ diff --git a/kubernetes/client/models/v1beta1_ingress_status.py b/kubernetes/client/models/v1beta1_ingress_status.py index b3fafa4fef..99b90ae962 100644 --- a/kubernetes/client/models/v1beta1_ingress_status.py +++ b/kubernetes/client/models/v1beta1_ingress_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -51,7 +40,6 @@ def __init__(self, load_balancer=None): self._load_balancer = load_balancer - @property def load_balancer(self): """ diff --git a/kubernetes/client/models/v1beta1_ingress_tls.py b/kubernetes/client/models/v1beta1_ingress_tls.py index d2bcf013b2..e3ad3ffe61 100644 --- a/kubernetes/client/models/v1beta1_ingress_tls.py +++ b/kubernetes/client/models/v1beta1_ingress_tls.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, hosts=None, secret_name=None): self._hosts = hosts self._secret_name = secret_name - @property def hosts(self): """ diff --git a/kubernetes/client/models/v1beta1_job.py b/kubernetes/client/models/v1beta1_job.py index e36ca9f8a7..dd03d5ce84 100644 --- a/kubernetes/client/models/v1beta1_job.py +++ b/kubernetes/client/models/v1beta1_job.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1beta1_job_condition.py b/kubernetes/client/models/v1beta1_job_condition.py index 3c108987ca..244f94b7e5 100644 --- a/kubernetes/client/models/v1beta1_job_condition.py +++ b/kubernetes/client/models/v1beta1_job_condition.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -66,7 +55,6 @@ def __init__(self, last_probe_time=None, last_transition_time=None, message=None self._status = status self._type = type - @property def last_probe_time(self): """ diff --git a/kubernetes/client/models/v1beta1_job_list.py b/kubernetes/client/models/v1beta1_job_list.py index d859fe7b5b..8646bdfdb4 100644 --- a/kubernetes/client/models/v1beta1_job_list.py +++ b/kubernetes/client/models/v1beta1_job_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1beta1_job_spec.py b/kubernetes/client/models/v1beta1_job_spec.py index 41965bc6e5..c8f90f3640 100644 --- a/kubernetes/client/models/v1beta1_job_spec.py +++ b/kubernetes/client/models/v1beta1_job_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -66,7 +55,6 @@ def __init__(self, active_deadline_seconds=None, auto_selector=None, completions self._selector = selector self._template = template - @property def active_deadline_seconds(self): """ diff --git a/kubernetes/client/models/v1beta1_job_status.py b/kubernetes/client/models/v1beta1_job_status.py index 5597945f0e..de15dcc4ac 100644 --- a/kubernetes/client/models/v1beta1_job_status.py +++ b/kubernetes/client/models/v1beta1_job_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -66,7 +55,6 @@ def __init__(self, active=None, completion_time=None, conditions=None, failed=No self._start_time = start_time self._succeeded = succeeded - @property def active(self): """ diff --git a/kubernetes/client/models/v1beta1_local_subject_access_review.py b/kubernetes/client/models/v1beta1_local_subject_access_review.py index f0d5ad6db9..0f5605498f 100644 --- a/kubernetes/client/models/v1beta1_local_subject_access_review.py +++ b/kubernetes/client/models/v1beta1_local_subject_access_review.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ @@ -115,7 +103,6 @@ def metadata(self): """ Gets the metadata of this V1beta1LocalSubjectAccessReview. - :return: The metadata of this V1beta1LocalSubjectAccessReview. :rtype: V1ObjectMeta """ @@ -126,7 +113,6 @@ def metadata(self, metadata): """ Sets the metadata of this V1beta1LocalSubjectAccessReview. - :param metadata: The metadata of this V1beta1LocalSubjectAccessReview. :type: V1ObjectMeta """ diff --git a/kubernetes/client/models/v1beta1_network_policy.py b/kubernetes/client/models/v1beta1_network_policy.py index 8181b69c69..e2b2a08383 100644 --- a/kubernetes/client/models/v1beta1_network_policy.py +++ b/kubernetes/client/models/v1beta1_network_policy.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None): self._metadata = metadata self._spec = spec - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1beta1_network_policy_ingress_rule.py b/kubernetes/client/models/v1beta1_network_policy_ingress_rule.py index 927d8ee0c6..f4640133e5 100644 --- a/kubernetes/client/models/v1beta1_network_policy_ingress_rule.py +++ b/kubernetes/client/models/v1beta1_network_policy_ingress_rule.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, _from=None, ports=None): self.__from = _from self._ports = ports - @property def _from(self): """ diff --git a/kubernetes/client/models/v1beta1_network_policy_list.py b/kubernetes/client/models/v1beta1_network_policy_list.py index cffd518333..5da5ab7685 100644 --- a/kubernetes/client/models/v1beta1_network_policy_list.py +++ b/kubernetes/client/models/v1beta1_network_policy_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1beta1_network_policy_peer.py b/kubernetes/client/models/v1beta1_network_policy_peer.py index eaff846287..ce56a47bf2 100644 --- a/kubernetes/client/models/v1beta1_network_policy_peer.py +++ b/kubernetes/client/models/v1beta1_network_policy_peer.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, namespace_selector=None, pod_selector=None): self._namespace_selector = namespace_selector self._pod_selector = pod_selector - @property def namespace_selector(self): """ diff --git a/kubernetes/client/models/v1beta1_network_policy_port.py b/kubernetes/client/models/v1beta1_network_policy_port.py index b789596539..3ecf074cd1 100644 --- a/kubernetes/client/models/v1beta1_network_policy_port.py +++ b/kubernetes/client/models/v1beta1_network_policy_port.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, port=None, protocol=None): self._port = port self._protocol = protocol - @property def port(self): """ diff --git a/kubernetes/client/models/v1beta1_network_policy_spec.py b/kubernetes/client/models/v1beta1_network_policy_spec.py index b862a5a1da..87dce4ce0d 100644 --- a/kubernetes/client/models/v1beta1_network_policy_spec.py +++ b/kubernetes/client/models/v1beta1_network_policy_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, ingress=None, pod_selector=None): self._ingress = ingress self._pod_selector = pod_selector - @property def ingress(self): """ diff --git a/kubernetes/client/models/v1beta1_non_resource_attributes.py b/kubernetes/client/models/v1beta1_non_resource_attributes.py index 3b26bcda29..cf0a7418fd 100644 --- a/kubernetes/client/models/v1beta1_non_resource_attributes.py +++ b/kubernetes/client/models/v1beta1_non_resource_attributes.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, path=None, verb=None): self._path = path self._verb = verb - @property def path(self): """ diff --git a/kubernetes/client/models/v1beta1_pod_disruption_budget.py b/kubernetes/client/models/v1beta1_pod_disruption_budget.py index e09b98a797..6b382c41fb 100644 --- a/kubernetes/client/models/v1beta1_pod_disruption_budget.py +++ b/kubernetes/client/models/v1beta1_pod_disruption_budget.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ @@ -115,7 +103,6 @@ def metadata(self): """ Gets the metadata of this V1beta1PodDisruptionBudget. - :return: The metadata of this V1beta1PodDisruptionBudget. :rtype: V1ObjectMeta """ @@ -126,7 +113,6 @@ def metadata(self, metadata): """ Sets the metadata of this V1beta1PodDisruptionBudget. - :param metadata: The metadata of this V1beta1PodDisruptionBudget. :type: V1ObjectMeta """ diff --git a/kubernetes/client/models/v1beta1_pod_disruption_budget_list.py b/kubernetes/client/models/v1beta1_pod_disruption_budget_list.py index 61e2e99ca9..ed333679a0 100644 --- a/kubernetes/client/models/v1beta1_pod_disruption_budget_list.py +++ b/kubernetes/client/models/v1beta1_pod_disruption_budget_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ @@ -89,7 +77,6 @@ def items(self): """ Gets the items of this V1beta1PodDisruptionBudgetList. - :return: The items of this V1beta1PodDisruptionBudgetList. :rtype: list[V1beta1PodDisruptionBudget] """ @@ -100,7 +87,6 @@ def items(self, items): """ Sets the items of this V1beta1PodDisruptionBudgetList. - :param items: The items of this V1beta1PodDisruptionBudgetList. :type: list[V1beta1PodDisruptionBudget] """ @@ -137,7 +123,6 @@ def metadata(self): """ Gets the metadata of this V1beta1PodDisruptionBudgetList. - :return: The metadata of this V1beta1PodDisruptionBudgetList. :rtype: UnversionedListMeta """ @@ -148,7 +133,6 @@ def metadata(self, metadata): """ Sets the metadata of this V1beta1PodDisruptionBudgetList. - :param metadata: The metadata of this V1beta1PodDisruptionBudgetList. :type: UnversionedListMeta """ diff --git a/kubernetes/client/models/v1beta1_pod_disruption_budget_spec.py b/kubernetes/client/models/v1beta1_pod_disruption_budget_spec.py index fef2d6064c..8532bc2c33 100644 --- a/kubernetes/client/models/v1beta1_pod_disruption_budget_spec.py +++ b/kubernetes/client/models/v1beta1_pod_disruption_budget_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, min_available=None, selector=None): self._min_available = min_available self._selector = selector - @property def min_available(self): """ diff --git a/kubernetes/client/models/v1beta1_pod_disruption_budget_status.py b/kubernetes/client/models/v1beta1_pod_disruption_budget_status.py index 84b98bb2d3..7db0f23086 100644 --- a/kubernetes/client/models/v1beta1_pod_disruption_budget_status.py +++ b/kubernetes/client/models/v1beta1_pod_disruption_budget_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -66,7 +55,6 @@ def __init__(self, current_healthy=None, desired_healthy=None, disrupted_pods=No self._expected_pods = expected_pods self._observed_generation = observed_generation - @property def current_healthy(self): """ diff --git a/kubernetes/client/models/v1beta1_replica_set.py b/kubernetes/client/models/v1beta1_replica_set.py index 3f283a762c..7033539bab 100644 --- a/kubernetes/client/models/v1beta1_replica_set.py +++ b/kubernetes/client/models/v1beta1_replica_set.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1beta1_replica_set_condition.py b/kubernetes/client/models/v1beta1_replica_set_condition.py index bd9d6bbe9f..6c53b3174b 100644 --- a/kubernetes/client/models/v1beta1_replica_set_condition.py +++ b/kubernetes/client/models/v1beta1_replica_set_condition.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, last_transition_time=None, message=None, reason=None, status= self._status = status self._type = type - @property def last_transition_time(self): """ diff --git a/kubernetes/client/models/v1beta1_replica_set_list.py b/kubernetes/client/models/v1beta1_replica_set_list.py index 2890b30a9a..3445bf5dd8 100644 --- a/kubernetes/client/models/v1beta1_replica_set_list.py +++ b/kubernetes/client/models/v1beta1_replica_set_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1beta1_replica_set_spec.py b/kubernetes/client/models/v1beta1_replica_set_spec.py index 0a5934c700..2fe4615398 100644 --- a/kubernetes/client/models/v1beta1_replica_set_spec.py +++ b/kubernetes/client/models/v1beta1_replica_set_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, min_ready_seconds=None, replicas=None, selector=None, templat self._selector = selector self._template = template - @property def min_ready_seconds(self): """ diff --git a/kubernetes/client/models/v1beta1_replica_set_status.py b/kubernetes/client/models/v1beta1_replica_set_status.py index fd78192db7..1a40603b29 100644 --- a/kubernetes/client/models/v1beta1_replica_set_status.py +++ b/kubernetes/client/models/v1beta1_replica_set_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -66,7 +55,6 @@ def __init__(self, available_replicas=None, conditions=None, fully_labeled_repli self._ready_replicas = ready_replicas self._replicas = replicas - @property def available_replicas(self): """ diff --git a/kubernetes/client/models/v1beta1_resource_attributes.py b/kubernetes/client/models/v1beta1_resource_attributes.py index 71f77054f8..464decfd75 100644 --- a/kubernetes/client/models/v1beta1_resource_attributes.py +++ b/kubernetes/client/models/v1beta1_resource_attributes.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -69,7 +58,6 @@ def __init__(self, group=None, name=None, namespace=None, resource=None, subreso self._verb = verb self._version = version - @property def group(self): """ diff --git a/kubernetes/client/models/v1beta1_rollback_config.py b/kubernetes/client/models/v1beta1_rollback_config.py index ed3c3a910d..359472035c 100644 --- a/kubernetes/client/models/v1beta1_rollback_config.py +++ b/kubernetes/client/models/v1beta1_rollback_config.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -51,7 +40,6 @@ def __init__(self, revision=None): self._revision = revision - @property def revision(self): """ diff --git a/kubernetes/client/models/v1beta1_rolling_update_deployment.py b/kubernetes/client/models/v1beta1_rolling_update_deployment.py index ab7cd7c8b5..421e25b3ee 100644 --- a/kubernetes/client/models/v1beta1_rolling_update_deployment.py +++ b/kubernetes/client/models/v1beta1_rolling_update_deployment.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, max_surge=None, max_unavailable=None): self._max_surge = max_surge self._max_unavailable = max_unavailable - @property def max_surge(self): """ diff --git a/kubernetes/client/models/v1beta1_scale.py b/kubernetes/client/models/v1beta1_scale.py index 1d0e8eaaab..57f00ac181 100644 --- a/kubernetes/client/models/v1beta1_scale.py +++ b/kubernetes/client/models/v1beta1_scale.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1beta1_scale_spec.py b/kubernetes/client/models/v1beta1_scale_spec.py index 3dda9adbbc..835219840d 100644 --- a/kubernetes/client/models/v1beta1_scale_spec.py +++ b/kubernetes/client/models/v1beta1_scale_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -51,7 +40,6 @@ def __init__(self, replicas=None): self._replicas = replicas - @property def replicas(self): """ diff --git a/kubernetes/client/models/v1beta1_scale_status.py b/kubernetes/client/models/v1beta1_scale_status.py index c85830b604..ed7f1c5038 100644 --- a/kubernetes/client/models/v1beta1_scale_status.py +++ b/kubernetes/client/models/v1beta1_scale_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, replicas=None, selector=None, target_selector=None): self._selector = selector self._target_selector = target_selector - @property def replicas(self): """ diff --git a/kubernetes/client/models/v1beta1_self_subject_access_review.py b/kubernetes/client/models/v1beta1_self_subject_access_review.py index d8fefb88db..40904d7b32 100644 --- a/kubernetes/client/models/v1beta1_self_subject_access_review.py +++ b/kubernetes/client/models/v1beta1_self_subject_access_review.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ @@ -115,7 +103,6 @@ def metadata(self): """ Gets the metadata of this V1beta1SelfSubjectAccessReview. - :return: The metadata of this V1beta1SelfSubjectAccessReview. :rtype: V1ObjectMeta """ @@ -126,7 +113,6 @@ def metadata(self, metadata): """ Sets the metadata of this V1beta1SelfSubjectAccessReview. - :param metadata: The metadata of this V1beta1SelfSubjectAccessReview. :type: V1ObjectMeta """ diff --git a/kubernetes/client/models/v1beta1_self_subject_access_review_spec.py b/kubernetes/client/models/v1beta1_self_subject_access_review_spec.py index 41ace76b9e..5942b47971 100644 --- a/kubernetes/client/models/v1beta1_self_subject_access_review_spec.py +++ b/kubernetes/client/models/v1beta1_self_subject_access_review_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, non_resource_attributes=None, resource_attributes=None): self._non_resource_attributes = non_resource_attributes self._resource_attributes = resource_attributes - @property def non_resource_attributes(self): """ diff --git a/kubernetes/client/models/v1beta1_stateful_set.py b/kubernetes/client/models/v1beta1_stateful_set.py index 7f3d51a9e8..123507f233 100644 --- a/kubernetes/client/models/v1beta1_stateful_set.py +++ b/kubernetes/client/models/v1beta1_stateful_set.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ @@ -115,7 +103,6 @@ def metadata(self): """ Gets the metadata of this V1beta1StatefulSet. - :return: The metadata of this V1beta1StatefulSet. :rtype: V1ObjectMeta """ @@ -126,7 +113,6 @@ def metadata(self, metadata): """ Sets the metadata of this V1beta1StatefulSet. - :param metadata: The metadata of this V1beta1StatefulSet. :type: V1ObjectMeta """ diff --git a/kubernetes/client/models/v1beta1_stateful_set_list.py b/kubernetes/client/models/v1beta1_stateful_set_list.py index a6a5b51f8a..0aa8858ed0 100644 --- a/kubernetes/client/models/v1beta1_stateful_set_list.py +++ b/kubernetes/client/models/v1beta1_stateful_set_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ @@ -89,7 +77,6 @@ def items(self): """ Gets the items of this V1beta1StatefulSetList. - :return: The items of this V1beta1StatefulSetList. :rtype: list[V1beta1StatefulSet] """ @@ -100,7 +87,6 @@ def items(self, items): """ Sets the items of this V1beta1StatefulSetList. - :param items: The items of this V1beta1StatefulSetList. :type: list[V1beta1StatefulSet] """ @@ -137,7 +123,6 @@ def metadata(self): """ Gets the metadata of this V1beta1StatefulSetList. - :return: The metadata of this V1beta1StatefulSetList. :rtype: UnversionedListMeta """ @@ -148,7 +133,6 @@ def metadata(self, metadata): """ Sets the metadata of this V1beta1StatefulSetList. - :param metadata: The metadata of this V1beta1StatefulSetList. :type: UnversionedListMeta """ diff --git a/kubernetes/client/models/v1beta1_stateful_set_spec.py b/kubernetes/client/models/v1beta1_stateful_set_spec.py index 5a2dc13007..56ada9f278 100644 --- a/kubernetes/client/models/v1beta1_stateful_set_spec.py +++ b/kubernetes/client/models/v1beta1_stateful_set_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, replicas=None, selector=None, service_name=None, template=Non self._template = template self._volume_claim_templates = volume_claim_templates - @property def replicas(self): """ diff --git a/kubernetes/client/models/v1beta1_stateful_set_status.py b/kubernetes/client/models/v1beta1_stateful_set_status.py index 4ca2b3f984..20c162d1fc 100644 --- a/kubernetes/client/models/v1beta1_stateful_set_status.py +++ b/kubernetes/client/models/v1beta1_stateful_set_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, observed_generation=None, replicas=None): self._observed_generation = observed_generation self._replicas = replicas - @property def observed_generation(self): """ diff --git a/kubernetes/client/models/v1beta1_storage_class.py b/kubernetes/client/models/v1beta1_storage_class.py index 680d8b74e5..01637e11c7 100644 --- a/kubernetes/client/models/v1beta1_storage_class.py +++ b/kubernetes/client/models/v1beta1_storage_class.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, parameters=None, self._parameters = parameters self._provisioner = provisioner - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1beta1_storage_class_list.py b/kubernetes/client/models/v1beta1_storage_class_list.py index 2245b2743c..2a3e583619 100644 --- a/kubernetes/client/models/v1beta1_storage_class_list.py +++ b/kubernetes/client/models/v1beta1_storage_class_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1beta1_subject_access_review.py b/kubernetes/client/models/v1beta1_subject_access_review.py index 0cfccdbfdc..858eb3cd6c 100644 --- a/kubernetes/client/models/v1beta1_subject_access_review.py +++ b/kubernetes/client/models/v1beta1_subject_access_review.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ @@ -115,7 +103,6 @@ def metadata(self): """ Gets the metadata of this V1beta1SubjectAccessReview. - :return: The metadata of this V1beta1SubjectAccessReview. :rtype: V1ObjectMeta """ @@ -126,7 +113,6 @@ def metadata(self, metadata): """ Sets the metadata of this V1beta1SubjectAccessReview. - :param metadata: The metadata of this V1beta1SubjectAccessReview. :type: V1ObjectMeta """ diff --git a/kubernetes/client/models/v1beta1_subject_access_review_spec.py b/kubernetes/client/models/v1beta1_subject_access_review_spec.py index a0eaa55006..a877c4ad02 100644 --- a/kubernetes/client/models/v1beta1_subject_access_review_spec.py +++ b/kubernetes/client/models/v1beta1_subject_access_review_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, extra=None, group=None, non_resource_attributes=None, resourc self._resource_attributes = resource_attributes self._user = user - @property def extra(self): """ diff --git a/kubernetes/client/models/v1beta1_subject_access_review_status.py b/kubernetes/client/models/v1beta1_subject_access_review_status.py index 88ade63f1b..956553f949 100644 --- a/kubernetes/client/models/v1beta1_subject_access_review_status.py +++ b/kubernetes/client/models/v1beta1_subject_access_review_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, allowed=None, evaluation_error=None, reason=None): self._evaluation_error = evaluation_error self._reason = reason - @property def allowed(self): """ diff --git a/kubernetes/client/models/v1beta1_subresource_reference.py b/kubernetes/client/models/v1beta1_subresource_reference.py index 3ef2b86628..43d2e04965 100644 --- a/kubernetes/client/models/v1beta1_subresource_reference.py +++ b/kubernetes/client/models/v1beta1_subresource_reference.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, kind=None, name=None, subresource=None): self._name = name self._subresource = subresource - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1beta1_third_party_resource.py b/kubernetes/client/models/v1beta1_third_party_resource.py index 641a4f35ca..20c2ac25cc 100644 --- a/kubernetes/client/models/v1beta1_third_party_resource.py +++ b/kubernetes/client/models/v1beta1_third_party_resource.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, description=None, kind=None, metadata=None, self._metadata = metadata self._versions = versions - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1beta1_third_party_resource_list.py b/kubernetes/client/models/v1beta1_third_party_resource_list.py index 33eac7b398..744bb1f8f7 100644 --- a/kubernetes/client/models/v1beta1_third_party_resource_list.py +++ b/kubernetes/client/models/v1beta1_third_party_resource_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v1beta1_token_review.py b/kubernetes/client/models/v1beta1_token_review.py index 088ca7c397..49353a806a 100644 --- a/kubernetes/client/models/v1beta1_token_review.py +++ b/kubernetes/client/models/v1beta1_token_review.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ @@ -115,7 +103,6 @@ def metadata(self): """ Gets the metadata of this V1beta1TokenReview. - :return: The metadata of this V1beta1TokenReview. :rtype: V1ObjectMeta """ @@ -126,7 +113,6 @@ def metadata(self, metadata): """ Sets the metadata of this V1beta1TokenReview. - :param metadata: The metadata of this V1beta1TokenReview. :type: V1ObjectMeta """ diff --git a/kubernetes/client/models/v1beta1_token_review_spec.py b/kubernetes/client/models/v1beta1_token_review_spec.py index d8553e4013..ce5c564374 100644 --- a/kubernetes/client/models/v1beta1_token_review_spec.py +++ b/kubernetes/client/models/v1beta1_token_review_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -51,7 +40,6 @@ def __init__(self, token=None): self._token = token - @property def token(self): """ diff --git a/kubernetes/client/models/v1beta1_token_review_status.py b/kubernetes/client/models/v1beta1_token_review_status.py index 726efafa0a..275cb3d7d6 100644 --- a/kubernetes/client/models/v1beta1_token_review_status.py +++ b/kubernetes/client/models/v1beta1_token_review_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -57,7 +46,6 @@ def __init__(self, authenticated=None, error=None, user=None): self._error = error self._user = user - @property def authenticated(self): """ diff --git a/kubernetes/client/models/v1beta1_user_info.py b/kubernetes/client/models/v1beta1_user_info.py index 18e39f50b3..6935cff902 100644 --- a/kubernetes/client/models/v1beta1_user_info.py +++ b/kubernetes/client/models/v1beta1_user_info.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, extra=None, groups=None, uid=None, username=None): self._uid = uid self._username = username - @property def extra(self): """ diff --git a/kubernetes/client/models/v2alpha1_cron_job.py b/kubernetes/client/models/v2alpha1_cron_job.py index 5a7b178560..1e38be772a 100644 --- a/kubernetes/client/models/v2alpha1_cron_job.py +++ b/kubernetes/client/models/v2alpha1_cron_job.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ diff --git a/kubernetes/client/models/v2alpha1_cron_job_list.py b/kubernetes/client/models/v2alpha1_cron_job_list.py index 382b01cf2d..9cc7093aeb 100644 --- a/kubernetes/client/models/v2alpha1_cron_job_list.py +++ b/kubernetes/client/models/v2alpha1_cron_job_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v2alpha1_cron_job_spec.py b/kubernetes/client/models/v2alpha1_cron_job_spec.py index 95a0eb8bef..6ab4e1916e 100644 --- a/kubernetes/client/models/v2alpha1_cron_job_spec.py +++ b/kubernetes/client/models/v2alpha1_cron_job_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, concurrency_policy=None, job_template=None, schedule=None, st self._starting_deadline_seconds = starting_deadline_seconds self._suspend = suspend - @property def concurrency_policy(self): """ diff --git a/kubernetes/client/models/v2alpha1_cron_job_status.py b/kubernetes/client/models/v2alpha1_cron_job_status.py index 10fa4522b0..117c39e7e9 100644 --- a/kubernetes/client/models/v2alpha1_cron_job_status.py +++ b/kubernetes/client/models/v2alpha1_cron_job_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, active=None, last_schedule_time=None): self._active = active self._last_schedule_time = last_schedule_time - @property def active(self): """ diff --git a/kubernetes/client/models/v2alpha1_job.py b/kubernetes/client/models/v2alpha1_job.py index 0a4da7aaf2..41ddc24fc4 100644 --- a/kubernetes/client/models/v2alpha1_job.py +++ b/kubernetes/client/models/v2alpha1_job.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -63,7 +52,6 @@ def __init__(self, api_version=None, kind=None, metadata=None, spec=None, status self._spec = spec self._status = status - @property def api_version(self): """ diff --git a/kubernetes/client/models/v2alpha1_job_condition.py b/kubernetes/client/models/v2alpha1_job_condition.py index dfedd95c1d..216b33751f 100644 --- a/kubernetes/client/models/v2alpha1_job_condition.py +++ b/kubernetes/client/models/v2alpha1_job_condition.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -66,7 +55,6 @@ def __init__(self, last_probe_time=None, last_transition_time=None, message=None self._status = status self._type = type - @property def last_probe_time(self): """ diff --git a/kubernetes/client/models/v2alpha1_job_list.py b/kubernetes/client/models/v2alpha1_job_list.py index dc730fb1bd..8ec10329ac 100644 --- a/kubernetes/client/models/v2alpha1_job_list.py +++ b/kubernetes/client/models/v2alpha1_job_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -60,7 +49,6 @@ def __init__(self, api_version=None, items=None, kind=None, metadata=None): self._kind = kind self._metadata = metadata - @property def api_version(self): """ diff --git a/kubernetes/client/models/v2alpha1_job_spec.py b/kubernetes/client/models/v2alpha1_job_spec.py index c78606eb11..4771459fc1 100644 --- a/kubernetes/client/models/v2alpha1_job_spec.py +++ b/kubernetes/client/models/v2alpha1_job_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -66,7 +55,6 @@ def __init__(self, active_deadline_seconds=None, completions=None, manual_select self._selector = selector self._template = template - @property def active_deadline_seconds(self): """ diff --git a/kubernetes/client/models/v2alpha1_job_status.py b/kubernetes/client/models/v2alpha1_job_status.py index 270e6aa142..6a12e0fa39 100644 --- a/kubernetes/client/models/v2alpha1_job_status.py +++ b/kubernetes/client/models/v2alpha1_job_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -66,7 +55,6 @@ def __init__(self, active=None, completion_time=None, conditions=None, failed=No self._start_time = start_time self._succeeded = succeeded - @property def active(self): """ diff --git a/kubernetes/client/models/v2alpha1_job_template_spec.py b/kubernetes/client/models/v2alpha1_job_template_spec.py index b640817577..f4b3000e4d 100644 --- a/kubernetes/client/models/v2alpha1_job_template_spec.py +++ b/kubernetes/client/models/v2alpha1_job_template_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, metadata=None, spec=None): self._metadata = metadata self._spec = spec - @property def metadata(self): """ diff --git a/kubernetes/client/models/version_info.py b/kubernetes/client/models/version_info.py index 297ce8e1fb..3e6f611e02 100644 --- a/kubernetes/client/models/version_info.py +++ b/kubernetes/client/models/version_info.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -75,13 +64,11 @@ def __init__(self, build_date=None, compiler=None, git_commit=None, git_tree_sta self._minor = minor self._platform = platform - @property def build_date(self): """ Gets the build_date of this VersionInfo. - :return: The build_date of this VersionInfo. :rtype: str """ @@ -92,7 +79,6 @@ def build_date(self, build_date): """ Sets the build_date of this VersionInfo. - :param build_date: The build_date of this VersionInfo. :type: str """ @@ -106,7 +92,6 @@ def compiler(self): """ Gets the compiler of this VersionInfo. - :return: The compiler of this VersionInfo. :rtype: str """ @@ -117,7 +102,6 @@ def compiler(self, compiler): """ Sets the compiler of this VersionInfo. - :param compiler: The compiler of this VersionInfo. :type: str """ @@ -131,7 +115,6 @@ def git_commit(self): """ Gets the git_commit of this VersionInfo. - :return: The git_commit of this VersionInfo. :rtype: str """ @@ -142,7 +125,6 @@ def git_commit(self, git_commit): """ Sets the git_commit of this VersionInfo. - :param git_commit: The git_commit of this VersionInfo. :type: str """ @@ -156,7 +138,6 @@ def git_tree_state(self): """ Gets the git_tree_state of this VersionInfo. - :return: The git_tree_state of this VersionInfo. :rtype: str """ @@ -167,7 +148,6 @@ def git_tree_state(self, git_tree_state): """ Sets the git_tree_state of this VersionInfo. - :param git_tree_state: The git_tree_state of this VersionInfo. :type: str """ @@ -181,7 +161,6 @@ def git_version(self): """ Gets the git_version of this VersionInfo. - :return: The git_version of this VersionInfo. :rtype: str """ @@ -192,7 +171,6 @@ def git_version(self, git_version): """ Sets the git_version of this VersionInfo. - :param git_version: The git_version of this VersionInfo. :type: str """ @@ -206,7 +184,6 @@ def go_version(self): """ Gets the go_version of this VersionInfo. - :return: The go_version of this VersionInfo. :rtype: str """ @@ -217,7 +194,6 @@ def go_version(self, go_version): """ Sets the go_version of this VersionInfo. - :param go_version: The go_version of this VersionInfo. :type: str """ @@ -231,7 +207,6 @@ def major(self): """ Gets the major of this VersionInfo. - :return: The major of this VersionInfo. :rtype: str """ @@ -242,7 +217,6 @@ def major(self, major): """ Sets the major of this VersionInfo. - :param major: The major of this VersionInfo. :type: str """ @@ -256,7 +230,6 @@ def minor(self): """ Gets the minor of this VersionInfo. - :return: The minor of this VersionInfo. :rtype: str """ @@ -267,7 +240,6 @@ def minor(self, minor): """ Sets the minor of this VersionInfo. - :param minor: The minor of this VersionInfo. :type: str """ @@ -281,7 +253,6 @@ def platform(self): """ Gets the platform of this VersionInfo. - :return: The platform of this VersionInfo. :rtype: str """ @@ -292,7 +263,6 @@ def platform(self, platform): """ Sets the platform of this VersionInfo. - :param platform: The platform of this VersionInfo. :type: str """ diff --git a/kubernetes/client/models/versioned_event.py b/kubernetes/client/models/versioned_event.py index 4a649b2456..7f40fa3320 100644 --- a/kubernetes/client/models/versioned_event.py +++ b/kubernetes/client/models/versioned_event.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from pprint import pformat from six import iteritems import re @@ -54,7 +43,6 @@ def __init__(self, object=None, type=None): self._object = object self._type = type - @property def object(self): """ @@ -85,7 +73,6 @@ def type(self): """ Gets the type of this VersionedEvent. - :return: The type of this VersionedEvent. :rtype: str """ @@ -96,7 +83,6 @@ def type(self, type): """ Sets the type of this VersionedEvent. - :param type: The type of this VersionedEvent. :type: str """ diff --git a/kubernetes/test/test_apis_api.py b/kubernetes/test/test_apis_api.py index 18f26b408a..6ccd5d7f3f 100644 --- a/kubernetes/test/test_apis_api.py +++ b/kubernetes/test/test_apis_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_apps_api.py b/kubernetes/test/test_apps_api.py index f221208507..19db620133 100644 --- a/kubernetes/test/test_apps_api.py +++ b/kubernetes/test/test_apps_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_apps_v1beta1_api.py b/kubernetes/test/test_apps_v1beta1_api.py index ee2cba4a0e..e973a97576 100644 --- a/kubernetes/test/test_apps_v1beta1_api.py +++ b/kubernetes/test/test_apps_v1beta1_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_authentication_api.py b/kubernetes/test/test_authentication_api.py index a98d9883c7..fb67950b0e 100644 --- a/kubernetes/test/test_authentication_api.py +++ b/kubernetes/test/test_authentication_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_authentication_v1beta1_api.py b/kubernetes/test/test_authentication_v1beta1_api.py index 0de32e654b..bd945e93af 100644 --- a/kubernetes/test/test_authentication_v1beta1_api.py +++ b/kubernetes/test/test_authentication_v1beta1_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_authorization_api.py b/kubernetes/test/test_authorization_api.py index e2d0528a7b..7b412482e4 100644 --- a/kubernetes/test/test_authorization_api.py +++ b/kubernetes/test/test_authorization_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_authorization_v1beta1_api.py b/kubernetes/test/test_authorization_v1beta1_api.py index 5ead864377..e58f3586cb 100644 --- a/kubernetes/test/test_authorization_v1beta1_api.py +++ b/kubernetes/test/test_authorization_v1beta1_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_autoscaling_api.py b/kubernetes/test/test_autoscaling_api.py index b98bb700b9..948c825d64 100644 --- a/kubernetes/test/test_autoscaling_api.py +++ b/kubernetes/test/test_autoscaling_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_autoscaling_v1_api.py b/kubernetes/test/test_autoscaling_v1_api.py index d56cb4c986..b64558162d 100644 --- a/kubernetes/test/test_autoscaling_v1_api.py +++ b/kubernetes/test/test_autoscaling_v1_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_batch_api.py b/kubernetes/test/test_batch_api.py index 6edec52ece..5a81c965cd 100644 --- a/kubernetes/test/test_batch_api.py +++ b/kubernetes/test/test_batch_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_batch_v1_api.py b/kubernetes/test/test_batch_v1_api.py index 4d5bac5a09..e164a12ce7 100644 --- a/kubernetes/test/test_batch_v1_api.py +++ b/kubernetes/test/test_batch_v1_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_batch_v2alpha1_api.py b/kubernetes/test/test_batch_v2alpha1_api.py index df0c56d634..5e2abe1469 100644 --- a/kubernetes/test/test_batch_v2alpha1_api.py +++ b/kubernetes/test/test_batch_v2alpha1_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_certificates_api.py b/kubernetes/test/test_certificates_api.py index 1b6cb13a18..db14deac09 100644 --- a/kubernetes/test/test_certificates_api.py +++ b/kubernetes/test/test_certificates_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_certificates_v1alpha1_api.py b/kubernetes/test/test_certificates_v1alpha1_api.py index 18a8a16856..6b1208aebf 100644 --- a/kubernetes/test/test_certificates_v1alpha1_api.py +++ b/kubernetes/test/test_certificates_v1alpha1_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_core_api.py b/kubernetes/test/test_core_api.py index af0d2b01cb..43cb5bc199 100644 --- a/kubernetes/test/test_core_api.py +++ b/kubernetes/test/test_core_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_core_v1_api.py b/kubernetes/test/test_core_v1_api.py index e8aafd0f4a..40702476f7 100644 --- a/kubernetes/test/test_core_v1_api.py +++ b/kubernetes/test/test_core_v1_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_extensions_api.py b/kubernetes/test/test_extensions_api.py index 93a908d1a0..deec43097e 100644 --- a/kubernetes/test/test_extensions_api.py +++ b/kubernetes/test/test_extensions_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_extensions_v1beta1_api.py b/kubernetes/test/test_extensions_v1beta1_api.py index 0342ca56af..a9d0db1707 100644 --- a/kubernetes/test/test_extensions_v1beta1_api.py +++ b/kubernetes/test/test_extensions_v1beta1_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_intstr_int_or_string.py b/kubernetes/test/test_intstr_int_or_string.py index d79d3eb210..afee347bc2 100644 --- a/kubernetes/test/test_intstr_int_or_string.py +++ b/kubernetes/test/test_intstr_int_or_string.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_logs_api.py b/kubernetes/test/test_logs_api.py index abd3b0e373..619722eed0 100644 --- a/kubernetes/test/test_logs_api.py +++ b/kubernetes/test/test_logs_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_policy_api.py b/kubernetes/test/test_policy_api.py index 4a3e56367d..2cd9cdc53d 100644 --- a/kubernetes/test/test_policy_api.py +++ b/kubernetes/test/test_policy_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_policy_v1beta1_api.py b/kubernetes/test/test_policy_v1beta1_api.py index 528af28128..4cf1f4f4f5 100644 --- a/kubernetes/test/test_policy_v1beta1_api.py +++ b/kubernetes/test/test_policy_v1beta1_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_rbac_authorization_api.py b/kubernetes/test/test_rbac_authorization_api.py index 7ab97974b3..aa732c0e72 100644 --- a/kubernetes/test/test_rbac_authorization_api.py +++ b/kubernetes/test/test_rbac_authorization_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_rbac_authorization_v1alpha1_api.py b/kubernetes/test/test_rbac_authorization_v1alpha1_api.py index f5aaa7c79f..cb38146bfe 100644 --- a/kubernetes/test/test_rbac_authorization_v1alpha1_api.py +++ b/kubernetes/test/test_rbac_authorization_v1alpha1_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_resource_quantity.py b/kubernetes/test/test_resource_quantity.py index e08ac9bebb..c0b2bdfd5e 100644 --- a/kubernetes/test/test_resource_quantity.py +++ b/kubernetes/test/test_resource_quantity.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_runtime_raw_extension.py b/kubernetes/test/test_runtime_raw_extension.py index 72fbffb65c..9a300b0902 100644 --- a/kubernetes/test/test_runtime_raw_extension.py +++ b/kubernetes/test/test_runtime_raw_extension.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_storage_api.py b/kubernetes/test/test_storage_api.py index c99b3f8c9e..20082fc980 100644 --- a/kubernetes/test/test_storage_api.py +++ b/kubernetes/test/test_storage_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_storage_v1beta1_api.py b/kubernetes/test/test_storage_v1beta1_api.py index c1e54bd132..d32d96ad61 100644 --- a/kubernetes/test/test_storage_v1beta1_api.py +++ b/kubernetes/test/test_storage_v1beta1_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_unversioned_api_group.py b/kubernetes/test/test_unversioned_api_group.py index b17da77e46..69dc9c1aed 100644 --- a/kubernetes/test/test_unversioned_api_group.py +++ b/kubernetes/test/test_unversioned_api_group.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_unversioned_api_group_list.py b/kubernetes/test/test_unversioned_api_group_list.py index 3a2bdab4ef..befdcd81e6 100644 --- a/kubernetes/test/test_unversioned_api_group_list.py +++ b/kubernetes/test/test_unversioned_api_group_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_unversioned_api_resource.py b/kubernetes/test/test_unversioned_api_resource.py index 26528e0b10..18840ed645 100644 --- a/kubernetes/test/test_unversioned_api_resource.py +++ b/kubernetes/test/test_unversioned_api_resource.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_unversioned_api_resource_list.py b/kubernetes/test/test_unversioned_api_resource_list.py index 135655d10d..084b16829b 100644 --- a/kubernetes/test/test_unversioned_api_resource_list.py +++ b/kubernetes/test/test_unversioned_api_resource_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_unversioned_api_versions.py b/kubernetes/test/test_unversioned_api_versions.py index f3ef9dc598..5a9e17719a 100644 --- a/kubernetes/test/test_unversioned_api_versions.py +++ b/kubernetes/test/test_unversioned_api_versions.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_unversioned_group_version_for_discovery.py b/kubernetes/test/test_unversioned_group_version_for_discovery.py index ca60d7da75..a0a1bde041 100644 --- a/kubernetes/test/test_unversioned_group_version_for_discovery.py +++ b/kubernetes/test/test_unversioned_group_version_for_discovery.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_unversioned_label_selector.py b/kubernetes/test/test_unversioned_label_selector.py index 07ff3132b6..a16f4578ca 100644 --- a/kubernetes/test/test_unversioned_label_selector.py +++ b/kubernetes/test/test_unversioned_label_selector.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_unversioned_label_selector_requirement.py b/kubernetes/test/test_unversioned_label_selector_requirement.py index 97a6f3bdbc..2516feebe3 100644 --- a/kubernetes/test/test_unversioned_label_selector_requirement.py +++ b/kubernetes/test/test_unversioned_label_selector_requirement.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_unversioned_list_meta.py b/kubernetes/test/test_unversioned_list_meta.py index 6990b6ac54..af2690adc3 100644 --- a/kubernetes/test/test_unversioned_list_meta.py +++ b/kubernetes/test/test_unversioned_list_meta.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_unversioned_server_address_by_client_cidr.py b/kubernetes/test/test_unversioned_server_address_by_client_cidr.py index a1d87a2a2d..252cfc55c2 100644 --- a/kubernetes/test/test_unversioned_server_address_by_client_cidr.py +++ b/kubernetes/test/test_unversioned_server_address_by_client_cidr.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_unversioned_status.py b/kubernetes/test/test_unversioned_status.py index 0a99ac5a10..deb2f9fe72 100644 --- a/kubernetes/test/test_unversioned_status.py +++ b/kubernetes/test/test_unversioned_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_unversioned_status_cause.py b/kubernetes/test/test_unversioned_status_cause.py index c09a5a7f26..ddf8f52502 100644 --- a/kubernetes/test/test_unversioned_status_cause.py +++ b/kubernetes/test/test_unversioned_status_cause.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_unversioned_status_details.py b/kubernetes/test/test_unversioned_status_details.py index b56b565653..736423ad5d 100644 --- a/kubernetes/test/test_unversioned_status_details.py +++ b/kubernetes/test/test_unversioned_status_details.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_unversioned_time.py b/kubernetes/test/test_unversioned_time.py index 62e880a3e9..f1a71e9155 100644 --- a/kubernetes/test/test_unversioned_time.py +++ b/kubernetes/test/test_unversioned_time.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_attached_volume.py b/kubernetes/test/test_v1_attached_volume.py index d4f156484a..0ebbd5d03f 100644 --- a/kubernetes/test/test_v1_attached_volume.py +++ b/kubernetes/test/test_v1_attached_volume.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_aws_elastic_block_store_volume_source.py b/kubernetes/test/test_v1_aws_elastic_block_store_volume_source.py index ea69a56702..3ea4c91287 100644 --- a/kubernetes/test/test_v1_aws_elastic_block_store_volume_source.py +++ b/kubernetes/test/test_v1_aws_elastic_block_store_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_azure_disk_volume_source.py b/kubernetes/test/test_v1_azure_disk_volume_source.py index ee9c55d732..3d6a2c4b98 100644 --- a/kubernetes/test/test_v1_azure_disk_volume_source.py +++ b/kubernetes/test/test_v1_azure_disk_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_azure_file_volume_source.py b/kubernetes/test/test_v1_azure_file_volume_source.py index 9cc3fcfac8..a3e8b9951c 100644 --- a/kubernetes/test/test_v1_azure_file_volume_source.py +++ b/kubernetes/test/test_v1_azure_file_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_binding.py b/kubernetes/test/test_v1_binding.py index 27c976465e..06ebd8b41f 100644 --- a/kubernetes/test/test_v1_binding.py +++ b/kubernetes/test/test_v1_binding.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_capabilities.py b/kubernetes/test/test_v1_capabilities.py index ade4d3ed19..9036e27130 100644 --- a/kubernetes/test/test_v1_capabilities.py +++ b/kubernetes/test/test_v1_capabilities.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_ceph_fs_volume_source.py b/kubernetes/test/test_v1_ceph_fs_volume_source.py index 47b4783d69..25c26d5968 100644 --- a/kubernetes/test/test_v1_ceph_fs_volume_source.py +++ b/kubernetes/test/test_v1_ceph_fs_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_cinder_volume_source.py b/kubernetes/test/test_v1_cinder_volume_source.py index c6a080f28f..4cfe21b3fc 100644 --- a/kubernetes/test/test_v1_cinder_volume_source.py +++ b/kubernetes/test/test_v1_cinder_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_component_condition.py b/kubernetes/test/test_v1_component_condition.py index 63091a7cbb..d96444c16a 100644 --- a/kubernetes/test/test_v1_component_condition.py +++ b/kubernetes/test/test_v1_component_condition.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_component_status.py b/kubernetes/test/test_v1_component_status.py index 97fd2d4a9f..04bd26e7be 100644 --- a/kubernetes/test/test_v1_component_status.py +++ b/kubernetes/test/test_v1_component_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_component_status_list.py b/kubernetes/test/test_v1_component_status_list.py index dcfc85bf96..800f30b980 100644 --- a/kubernetes/test/test_v1_component_status_list.py +++ b/kubernetes/test/test_v1_component_status_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_config_map.py b/kubernetes/test/test_v1_config_map.py index dbf79f0516..edf0c79e5b 100644 --- a/kubernetes/test/test_v1_config_map.py +++ b/kubernetes/test/test_v1_config_map.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_config_map_key_selector.py b/kubernetes/test/test_v1_config_map_key_selector.py index cbeeb8eefa..7994ae2b20 100644 --- a/kubernetes/test/test_v1_config_map_key_selector.py +++ b/kubernetes/test/test_v1_config_map_key_selector.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_config_map_list.py b/kubernetes/test/test_v1_config_map_list.py index 54b8bb8f80..f87961d912 100644 --- a/kubernetes/test/test_v1_config_map_list.py +++ b/kubernetes/test/test_v1_config_map_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_config_map_volume_source.py b/kubernetes/test/test_v1_config_map_volume_source.py index 28e5d1fd52..d04e8b3264 100644 --- a/kubernetes/test/test_v1_config_map_volume_source.py +++ b/kubernetes/test/test_v1_config_map_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_container.py b/kubernetes/test/test_v1_container.py index f30cf587f6..9d24b9315e 100644 --- a/kubernetes/test/test_v1_container.py +++ b/kubernetes/test/test_v1_container.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_container_image.py b/kubernetes/test/test_v1_container_image.py index 46d70f0628..7020654388 100644 --- a/kubernetes/test/test_v1_container_image.py +++ b/kubernetes/test/test_v1_container_image.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_container_port.py b/kubernetes/test/test_v1_container_port.py index 6fdf9b713e..347b64aa65 100644 --- a/kubernetes/test/test_v1_container_port.py +++ b/kubernetes/test/test_v1_container_port.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_container_state.py b/kubernetes/test/test_v1_container_state.py index eb58afdd76..1711f97571 100644 --- a/kubernetes/test/test_v1_container_state.py +++ b/kubernetes/test/test_v1_container_state.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_container_state_running.py b/kubernetes/test/test_v1_container_state_running.py index fdf8d99319..3e84e370cb 100644 --- a/kubernetes/test/test_v1_container_state_running.py +++ b/kubernetes/test/test_v1_container_state_running.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_container_state_terminated.py b/kubernetes/test/test_v1_container_state_terminated.py index e3aa970f74..2a29c94b9b 100644 --- a/kubernetes/test/test_v1_container_state_terminated.py +++ b/kubernetes/test/test_v1_container_state_terminated.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_container_state_waiting.py b/kubernetes/test/test_v1_container_state_waiting.py index 9ce1534310..c762e685db 100644 --- a/kubernetes/test/test_v1_container_state_waiting.py +++ b/kubernetes/test/test_v1_container_state_waiting.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_container_status.py b/kubernetes/test/test_v1_container_status.py index 7de5383b69..53581b229d 100644 --- a/kubernetes/test/test_v1_container_status.py +++ b/kubernetes/test/test_v1_container_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_cross_version_object_reference.py b/kubernetes/test/test_v1_cross_version_object_reference.py index 9ad909d6fb..2c418199ac 100644 --- a/kubernetes/test/test_v1_cross_version_object_reference.py +++ b/kubernetes/test/test_v1_cross_version_object_reference.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_daemon_endpoint.py b/kubernetes/test/test_v1_daemon_endpoint.py index 3f69a142d5..ae7537d7f4 100644 --- a/kubernetes/test/test_v1_daemon_endpoint.py +++ b/kubernetes/test/test_v1_daemon_endpoint.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_delete_options.py b/kubernetes/test/test_v1_delete_options.py index 28fcde4a8d..f0248d6464 100644 --- a/kubernetes/test/test_v1_delete_options.py +++ b/kubernetes/test/test_v1_delete_options.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_downward_api_volume_file.py b/kubernetes/test/test_v1_downward_api_volume_file.py index 1232da7401..687116be02 100644 --- a/kubernetes/test/test_v1_downward_api_volume_file.py +++ b/kubernetes/test/test_v1_downward_api_volume_file.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_downward_api_volume_source.py b/kubernetes/test/test_v1_downward_api_volume_source.py index 6a627d933d..1386a1fb0c 100644 --- a/kubernetes/test/test_v1_downward_api_volume_source.py +++ b/kubernetes/test/test_v1_downward_api_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_empty_dir_volume_source.py b/kubernetes/test/test_v1_empty_dir_volume_source.py index dba4bef628..aac5422787 100644 --- a/kubernetes/test/test_v1_empty_dir_volume_source.py +++ b/kubernetes/test/test_v1_empty_dir_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_endpoint_address.py b/kubernetes/test/test_v1_endpoint_address.py index 94b1902ab2..e8857b71f7 100644 --- a/kubernetes/test/test_v1_endpoint_address.py +++ b/kubernetes/test/test_v1_endpoint_address.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_endpoint_port.py b/kubernetes/test/test_v1_endpoint_port.py index 38a2a3a79d..331f75d11a 100644 --- a/kubernetes/test/test_v1_endpoint_port.py +++ b/kubernetes/test/test_v1_endpoint_port.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_endpoint_subset.py b/kubernetes/test/test_v1_endpoint_subset.py index c5dc3808b5..b3a7c77f24 100644 --- a/kubernetes/test/test_v1_endpoint_subset.py +++ b/kubernetes/test/test_v1_endpoint_subset.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_endpoints.py b/kubernetes/test/test_v1_endpoints.py index 1213edf66b..7687dcf6d0 100644 --- a/kubernetes/test/test_v1_endpoints.py +++ b/kubernetes/test/test_v1_endpoints.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_endpoints_list.py b/kubernetes/test/test_v1_endpoints_list.py index 13f561345b..2a1f3ad381 100644 --- a/kubernetes/test/test_v1_endpoints_list.py +++ b/kubernetes/test/test_v1_endpoints_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_env_var.py b/kubernetes/test/test_v1_env_var.py index ad5fb48375..131050bfac 100644 --- a/kubernetes/test/test_v1_env_var.py +++ b/kubernetes/test/test_v1_env_var.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_env_var_source.py b/kubernetes/test/test_v1_env_var_source.py index 13dd646a79..7364c6b661 100644 --- a/kubernetes/test/test_v1_env_var_source.py +++ b/kubernetes/test/test_v1_env_var_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_event.py b/kubernetes/test/test_v1_event.py index bdba8e0c68..44be4bc447 100644 --- a/kubernetes/test/test_v1_event.py +++ b/kubernetes/test/test_v1_event.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_event_list.py b/kubernetes/test/test_v1_event_list.py index 42811d2ef5..7710366cb2 100644 --- a/kubernetes/test/test_v1_event_list.py +++ b/kubernetes/test/test_v1_event_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_event_source.py b/kubernetes/test/test_v1_event_source.py index 9888c2a4c3..ec13afd729 100644 --- a/kubernetes/test/test_v1_event_source.py +++ b/kubernetes/test/test_v1_event_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_exec_action.py b/kubernetes/test/test_v1_exec_action.py index f3217418ec..ba8dfd7b4d 100644 --- a/kubernetes/test/test_v1_exec_action.py +++ b/kubernetes/test/test_v1_exec_action.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_fc_volume_source.py b/kubernetes/test/test_v1_fc_volume_source.py index 697c38e0f5..5095b3bcc7 100644 --- a/kubernetes/test/test_v1_fc_volume_source.py +++ b/kubernetes/test/test_v1_fc_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_flex_volume_source.py b/kubernetes/test/test_v1_flex_volume_source.py index 976be6b299..4714d2fef2 100644 --- a/kubernetes/test/test_v1_flex_volume_source.py +++ b/kubernetes/test/test_v1_flex_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_flocker_volume_source.py b/kubernetes/test/test_v1_flocker_volume_source.py index d8e893fcff..374c8cb5c4 100644 --- a/kubernetes/test/test_v1_flocker_volume_source.py +++ b/kubernetes/test/test_v1_flocker_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_gce_persistent_disk_volume_source.py b/kubernetes/test/test_v1_gce_persistent_disk_volume_source.py index 740b1f4b92..11e44efa39 100644 --- a/kubernetes/test/test_v1_gce_persistent_disk_volume_source.py +++ b/kubernetes/test/test_v1_gce_persistent_disk_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_git_repo_volume_source.py b/kubernetes/test/test_v1_git_repo_volume_source.py index 68604f4f9e..07f4803d63 100644 --- a/kubernetes/test/test_v1_git_repo_volume_source.py +++ b/kubernetes/test/test_v1_git_repo_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_glusterfs_volume_source.py b/kubernetes/test/test_v1_glusterfs_volume_source.py index 85ed89667f..d8b1d6d830 100644 --- a/kubernetes/test/test_v1_glusterfs_volume_source.py +++ b/kubernetes/test/test_v1_glusterfs_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_handler.py b/kubernetes/test/test_v1_handler.py index 5964553815..426a703043 100644 --- a/kubernetes/test/test_v1_handler.py +++ b/kubernetes/test/test_v1_handler.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler.py index 920ac241ce..1f3e37cbd1 100644 --- a/kubernetes/test/test_v1_horizontal_pod_autoscaler.py +++ b/kubernetes/test/test_v1_horizontal_pod_autoscaler.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py index c1a0b2aae7..101d33bce1 100644 --- a/kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py +++ b/kubernetes/test/test_v1_horizontal_pod_autoscaler_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py index f79f9c9216..e2d6cb6c76 100644 --- a/kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/test/test_v1_horizontal_pod_autoscaler_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py b/kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py index b22734e746..3ad21ba695 100644 --- a/kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py +++ b/kubernetes/test/test_v1_horizontal_pod_autoscaler_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_host_path_volume_source.py b/kubernetes/test/test_v1_host_path_volume_source.py index a2b14ddeea..55ee263307 100644 --- a/kubernetes/test/test_v1_host_path_volume_source.py +++ b/kubernetes/test/test_v1_host_path_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_http_get_action.py b/kubernetes/test/test_v1_http_get_action.py index 59f701031a..0d79263717 100644 --- a/kubernetes/test/test_v1_http_get_action.py +++ b/kubernetes/test/test_v1_http_get_action.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_http_header.py b/kubernetes/test/test_v1_http_header.py index cce479cc89..ec677f7c2d 100644 --- a/kubernetes/test/test_v1_http_header.py +++ b/kubernetes/test/test_v1_http_header.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_iscsi_volume_source.py b/kubernetes/test/test_v1_iscsi_volume_source.py index 975693c29d..bc932fdc09 100644 --- a/kubernetes/test/test_v1_iscsi_volume_source.py +++ b/kubernetes/test/test_v1_iscsi_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_job.py b/kubernetes/test/test_v1_job.py index 4028d408ab..fae1ad0e1b 100644 --- a/kubernetes/test/test_v1_job.py +++ b/kubernetes/test/test_v1_job.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_job_condition.py b/kubernetes/test/test_v1_job_condition.py index 85409f1c4c..5e3cf6ecb3 100644 --- a/kubernetes/test/test_v1_job_condition.py +++ b/kubernetes/test/test_v1_job_condition.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_job_list.py b/kubernetes/test/test_v1_job_list.py index dd4438e7bf..2971c17f2e 100644 --- a/kubernetes/test/test_v1_job_list.py +++ b/kubernetes/test/test_v1_job_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_job_spec.py b/kubernetes/test/test_v1_job_spec.py index a455d55929..f90ffea5bd 100644 --- a/kubernetes/test/test_v1_job_spec.py +++ b/kubernetes/test/test_v1_job_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_job_status.py b/kubernetes/test/test_v1_job_status.py index dcf760707b..e5ce8473bd 100644 --- a/kubernetes/test/test_v1_job_status.py +++ b/kubernetes/test/test_v1_job_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_key_to_path.py b/kubernetes/test/test_v1_key_to_path.py index f4df6c52da..aef3c4c995 100644 --- a/kubernetes/test/test_v1_key_to_path.py +++ b/kubernetes/test/test_v1_key_to_path.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_lifecycle.py b/kubernetes/test/test_v1_lifecycle.py index 57d00f168e..1bedf8c7b1 100644 --- a/kubernetes/test/test_v1_lifecycle.py +++ b/kubernetes/test/test_v1_lifecycle.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_limit_range.py b/kubernetes/test/test_v1_limit_range.py index fed3199680..9aa1cca1f1 100644 --- a/kubernetes/test/test_v1_limit_range.py +++ b/kubernetes/test/test_v1_limit_range.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_limit_range_item.py b/kubernetes/test/test_v1_limit_range_item.py index 66d04224b1..e6ecdaac11 100644 --- a/kubernetes/test/test_v1_limit_range_item.py +++ b/kubernetes/test/test_v1_limit_range_item.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_limit_range_list.py b/kubernetes/test/test_v1_limit_range_list.py index cfda878bd6..c87dd9f25d 100644 --- a/kubernetes/test/test_v1_limit_range_list.py +++ b/kubernetes/test/test_v1_limit_range_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_limit_range_spec.py b/kubernetes/test/test_v1_limit_range_spec.py index c086b9d94b..551866df50 100644 --- a/kubernetes/test/test_v1_limit_range_spec.py +++ b/kubernetes/test/test_v1_limit_range_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_load_balancer_ingress.py b/kubernetes/test/test_v1_load_balancer_ingress.py index 755d80677a..22d6b82649 100644 --- a/kubernetes/test/test_v1_load_balancer_ingress.py +++ b/kubernetes/test/test_v1_load_balancer_ingress.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_load_balancer_status.py b/kubernetes/test/test_v1_load_balancer_status.py index af03ed2d12..c2790f52b5 100644 --- a/kubernetes/test/test_v1_load_balancer_status.py +++ b/kubernetes/test/test_v1_load_balancer_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_local_object_reference.py b/kubernetes/test/test_v1_local_object_reference.py index f2bb0ecb35..58f07270a7 100644 --- a/kubernetes/test/test_v1_local_object_reference.py +++ b/kubernetes/test/test_v1_local_object_reference.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_namespace.py b/kubernetes/test/test_v1_namespace.py index c5c8607f9c..43a71ab67f 100644 --- a/kubernetes/test/test_v1_namespace.py +++ b/kubernetes/test/test_v1_namespace.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_namespace_list.py b/kubernetes/test/test_v1_namespace_list.py index 775dc65f7a..f866f47b69 100644 --- a/kubernetes/test/test_v1_namespace_list.py +++ b/kubernetes/test/test_v1_namespace_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_namespace_spec.py b/kubernetes/test/test_v1_namespace_spec.py index 7b41f170ee..b5868c5264 100644 --- a/kubernetes/test/test_v1_namespace_spec.py +++ b/kubernetes/test/test_v1_namespace_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_namespace_status.py b/kubernetes/test/test_v1_namespace_status.py index 5722e419bb..317fd77761 100644 --- a/kubernetes/test/test_v1_namespace_status.py +++ b/kubernetes/test/test_v1_namespace_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_nfs_volume_source.py b/kubernetes/test/test_v1_nfs_volume_source.py index d9254d78ee..39b61c2ca9 100644 --- a/kubernetes/test/test_v1_nfs_volume_source.py +++ b/kubernetes/test/test_v1_nfs_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_node.py b/kubernetes/test/test_v1_node.py index 67143b4f08..9dd445a655 100644 --- a/kubernetes/test/test_v1_node.py +++ b/kubernetes/test/test_v1_node.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_node_address.py b/kubernetes/test/test_v1_node_address.py index 002084431c..3767553294 100644 --- a/kubernetes/test/test_v1_node_address.py +++ b/kubernetes/test/test_v1_node_address.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_node_condition.py b/kubernetes/test/test_v1_node_condition.py index 43e95c6db1..149c99a183 100644 --- a/kubernetes/test/test_v1_node_condition.py +++ b/kubernetes/test/test_v1_node_condition.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_node_daemon_endpoints.py b/kubernetes/test/test_v1_node_daemon_endpoints.py index 1d9b7c29ab..f2274d3a81 100644 --- a/kubernetes/test/test_v1_node_daemon_endpoints.py +++ b/kubernetes/test/test_v1_node_daemon_endpoints.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_node_list.py b/kubernetes/test/test_v1_node_list.py index 7eddfa9733..522da1723a 100644 --- a/kubernetes/test/test_v1_node_list.py +++ b/kubernetes/test/test_v1_node_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_node_spec.py b/kubernetes/test/test_v1_node_spec.py index 7997647454..5fd78e2d05 100644 --- a/kubernetes/test/test_v1_node_spec.py +++ b/kubernetes/test/test_v1_node_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_node_status.py b/kubernetes/test/test_v1_node_status.py index e438b5ce6e..04e79d2d34 100644 --- a/kubernetes/test/test_v1_node_status.py +++ b/kubernetes/test/test_v1_node_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_node_system_info.py b/kubernetes/test/test_v1_node_system_info.py index 4ae7374f63..f7e5b2b04d 100644 --- a/kubernetes/test/test_v1_node_system_info.py +++ b/kubernetes/test/test_v1_node_system_info.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_object_field_selector.py b/kubernetes/test/test_v1_object_field_selector.py index f32c201616..0ebc3a6b1a 100644 --- a/kubernetes/test/test_v1_object_field_selector.py +++ b/kubernetes/test/test_v1_object_field_selector.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_object_meta.py b/kubernetes/test/test_v1_object_meta.py index 0d9240fa13..804472b493 100644 --- a/kubernetes/test/test_v1_object_meta.py +++ b/kubernetes/test/test_v1_object_meta.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_object_reference.py b/kubernetes/test/test_v1_object_reference.py index dd74c323f6..0cb590b541 100644 --- a/kubernetes/test/test_v1_object_reference.py +++ b/kubernetes/test/test_v1_object_reference.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_owner_reference.py b/kubernetes/test/test_v1_owner_reference.py index ffe494831b..fcd382666c 100644 --- a/kubernetes/test/test_v1_owner_reference.py +++ b/kubernetes/test/test_v1_owner_reference.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_persistent_volume.py b/kubernetes/test/test_v1_persistent_volume.py index d3878a35ba..0335fcb2bd 100644 --- a/kubernetes/test/test_v1_persistent_volume.py +++ b/kubernetes/test/test_v1_persistent_volume.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_persistent_volume_claim.py b/kubernetes/test/test_v1_persistent_volume_claim.py index 2cc92152a3..6a276797a6 100644 --- a/kubernetes/test/test_v1_persistent_volume_claim.py +++ b/kubernetes/test/test_v1_persistent_volume_claim.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_persistent_volume_claim_list.py b/kubernetes/test/test_v1_persistent_volume_claim_list.py index 9e51840f4f..2f096d187b 100644 --- a/kubernetes/test/test_v1_persistent_volume_claim_list.py +++ b/kubernetes/test/test_v1_persistent_volume_claim_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_persistent_volume_claim_spec.py b/kubernetes/test/test_v1_persistent_volume_claim_spec.py index 4f669091d1..57677b8857 100644 --- a/kubernetes/test/test_v1_persistent_volume_claim_spec.py +++ b/kubernetes/test/test_v1_persistent_volume_claim_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_persistent_volume_claim_status.py b/kubernetes/test/test_v1_persistent_volume_claim_status.py index 885a637278..38782ad7bc 100644 --- a/kubernetes/test/test_v1_persistent_volume_claim_status.py +++ b/kubernetes/test/test_v1_persistent_volume_claim_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_persistent_volume_claim_volume_source.py b/kubernetes/test/test_v1_persistent_volume_claim_volume_source.py index 0edf92690d..6babac0ace 100644 --- a/kubernetes/test/test_v1_persistent_volume_claim_volume_source.py +++ b/kubernetes/test/test_v1_persistent_volume_claim_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_persistent_volume_list.py b/kubernetes/test/test_v1_persistent_volume_list.py index be1993b4d2..c795c487a0 100644 --- a/kubernetes/test/test_v1_persistent_volume_list.py +++ b/kubernetes/test/test_v1_persistent_volume_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_persistent_volume_spec.py b/kubernetes/test/test_v1_persistent_volume_spec.py index 953b2952b3..06df4de564 100644 --- a/kubernetes/test/test_v1_persistent_volume_spec.py +++ b/kubernetes/test/test_v1_persistent_volume_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_persistent_volume_status.py b/kubernetes/test/test_v1_persistent_volume_status.py index 592bfc5539..e8e1615734 100644 --- a/kubernetes/test/test_v1_persistent_volume_status.py +++ b/kubernetes/test/test_v1_persistent_volume_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_photon_persistent_disk_volume_source.py b/kubernetes/test/test_v1_photon_persistent_disk_volume_source.py index 87078f54bc..026649106a 100644 --- a/kubernetes/test/test_v1_photon_persistent_disk_volume_source.py +++ b/kubernetes/test/test_v1_photon_persistent_disk_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_pod.py b/kubernetes/test/test_v1_pod.py index 95f066aa4a..4fee9f30e1 100644 --- a/kubernetes/test/test_v1_pod.py +++ b/kubernetes/test/test_v1_pod.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_pod_condition.py b/kubernetes/test/test_v1_pod_condition.py index 19cf986736..147b2a071d 100644 --- a/kubernetes/test/test_v1_pod_condition.py +++ b/kubernetes/test/test_v1_pod_condition.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_pod_list.py b/kubernetes/test/test_v1_pod_list.py index c49a24305c..fe7df348f9 100644 --- a/kubernetes/test/test_v1_pod_list.py +++ b/kubernetes/test/test_v1_pod_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_pod_security_context.py b/kubernetes/test/test_v1_pod_security_context.py index fb11502e47..b1225ec624 100644 --- a/kubernetes/test/test_v1_pod_security_context.py +++ b/kubernetes/test/test_v1_pod_security_context.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_pod_spec.py b/kubernetes/test/test_v1_pod_spec.py index 8568f0719f..69772fa4fd 100644 --- a/kubernetes/test/test_v1_pod_spec.py +++ b/kubernetes/test/test_v1_pod_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_pod_status.py b/kubernetes/test/test_v1_pod_status.py index 8cdf14fbba..024d25bdac 100644 --- a/kubernetes/test/test_v1_pod_status.py +++ b/kubernetes/test/test_v1_pod_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_pod_template.py b/kubernetes/test/test_v1_pod_template.py index 1081b13001..4f39121f2e 100644 --- a/kubernetes/test/test_v1_pod_template.py +++ b/kubernetes/test/test_v1_pod_template.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_pod_template_list.py b/kubernetes/test/test_v1_pod_template_list.py index 621e11604c..4cc7233485 100644 --- a/kubernetes/test/test_v1_pod_template_list.py +++ b/kubernetes/test/test_v1_pod_template_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_pod_template_spec.py b/kubernetes/test/test_v1_pod_template_spec.py index 96b57a6670..4c18159c8a 100644 --- a/kubernetes/test/test_v1_pod_template_spec.py +++ b/kubernetes/test/test_v1_pod_template_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_preconditions.py b/kubernetes/test/test_v1_preconditions.py index ddc8e990e2..1e5f38e977 100644 --- a/kubernetes/test/test_v1_preconditions.py +++ b/kubernetes/test/test_v1_preconditions.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_probe.py b/kubernetes/test/test_v1_probe.py index e90ec940d4..bfc0df8e2e 100644 --- a/kubernetes/test/test_v1_probe.py +++ b/kubernetes/test/test_v1_probe.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_quobyte_volume_source.py b/kubernetes/test/test_v1_quobyte_volume_source.py index d636141bc4..a02b301568 100644 --- a/kubernetes/test/test_v1_quobyte_volume_source.py +++ b/kubernetes/test/test_v1_quobyte_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_rbd_volume_source.py b/kubernetes/test/test_v1_rbd_volume_source.py index cfd9265c84..567594f852 100644 --- a/kubernetes/test/test_v1_rbd_volume_source.py +++ b/kubernetes/test/test_v1_rbd_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_replication_controller.py b/kubernetes/test/test_v1_replication_controller.py index 9554955f34..ec1cc7e5ee 100644 --- a/kubernetes/test/test_v1_replication_controller.py +++ b/kubernetes/test/test_v1_replication_controller.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_replication_controller_condition.py b/kubernetes/test/test_v1_replication_controller_condition.py index 5000ef18c5..17876ace75 100644 --- a/kubernetes/test/test_v1_replication_controller_condition.py +++ b/kubernetes/test/test_v1_replication_controller_condition.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_replication_controller_list.py b/kubernetes/test/test_v1_replication_controller_list.py index 2fd1f81660..f4332824f9 100644 --- a/kubernetes/test/test_v1_replication_controller_list.py +++ b/kubernetes/test/test_v1_replication_controller_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_replication_controller_spec.py b/kubernetes/test/test_v1_replication_controller_spec.py index e85418f5df..201e30922b 100644 --- a/kubernetes/test/test_v1_replication_controller_spec.py +++ b/kubernetes/test/test_v1_replication_controller_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_replication_controller_status.py b/kubernetes/test/test_v1_replication_controller_status.py index 431890ce71..08774787dd 100644 --- a/kubernetes/test/test_v1_replication_controller_status.py +++ b/kubernetes/test/test_v1_replication_controller_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_resource_field_selector.py b/kubernetes/test/test_v1_resource_field_selector.py index 9b34bd8b58..cf9382a90d 100644 --- a/kubernetes/test/test_v1_resource_field_selector.py +++ b/kubernetes/test/test_v1_resource_field_selector.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_resource_quota.py b/kubernetes/test/test_v1_resource_quota.py index c2e0c7f8e4..46b36a9965 100644 --- a/kubernetes/test/test_v1_resource_quota.py +++ b/kubernetes/test/test_v1_resource_quota.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_resource_quota_list.py b/kubernetes/test/test_v1_resource_quota_list.py index daefb3fc3b..a7228b47af 100644 --- a/kubernetes/test/test_v1_resource_quota_list.py +++ b/kubernetes/test/test_v1_resource_quota_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_resource_quota_spec.py b/kubernetes/test/test_v1_resource_quota_spec.py index 9112aaa837..91fd770937 100644 --- a/kubernetes/test/test_v1_resource_quota_spec.py +++ b/kubernetes/test/test_v1_resource_quota_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_resource_quota_status.py b/kubernetes/test/test_v1_resource_quota_status.py index 8c2b67aa77..89714e5ea2 100644 --- a/kubernetes/test/test_v1_resource_quota_status.py +++ b/kubernetes/test/test_v1_resource_quota_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_resource_requirements.py b/kubernetes/test/test_v1_resource_requirements.py index 00870512e5..f8705d9a2b 100644 --- a/kubernetes/test/test_v1_resource_requirements.py +++ b/kubernetes/test/test_v1_resource_requirements.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_scale.py b/kubernetes/test/test_v1_scale.py index 83e4aad04a..6352d59bcf 100644 --- a/kubernetes/test/test_v1_scale.py +++ b/kubernetes/test/test_v1_scale.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_scale_spec.py b/kubernetes/test/test_v1_scale_spec.py index 2abd3556d1..7ec2112d0a 100644 --- a/kubernetes/test/test_v1_scale_spec.py +++ b/kubernetes/test/test_v1_scale_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_scale_status.py b/kubernetes/test/test_v1_scale_status.py index 236b721357..d8b75a66ce 100644 --- a/kubernetes/test/test_v1_scale_status.py +++ b/kubernetes/test/test_v1_scale_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_se_linux_options.py b/kubernetes/test/test_v1_se_linux_options.py index 99e5196558..8a4b133e3f 100644 --- a/kubernetes/test/test_v1_se_linux_options.py +++ b/kubernetes/test/test_v1_se_linux_options.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_secret.py b/kubernetes/test/test_v1_secret.py index 4f07bd0702..fc304cd5a4 100644 --- a/kubernetes/test/test_v1_secret.py +++ b/kubernetes/test/test_v1_secret.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_secret_key_selector.py b/kubernetes/test/test_v1_secret_key_selector.py index 17f250363d..8b287ae5f4 100644 --- a/kubernetes/test/test_v1_secret_key_selector.py +++ b/kubernetes/test/test_v1_secret_key_selector.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_secret_list.py b/kubernetes/test/test_v1_secret_list.py index b778bd32f4..6796f48027 100644 --- a/kubernetes/test/test_v1_secret_list.py +++ b/kubernetes/test/test_v1_secret_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_secret_volume_source.py b/kubernetes/test/test_v1_secret_volume_source.py index e591d6f580..53647ebf16 100644 --- a/kubernetes/test/test_v1_secret_volume_source.py +++ b/kubernetes/test/test_v1_secret_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_security_context.py b/kubernetes/test/test_v1_security_context.py index 4fc872eaa5..f137f8e7da 100644 --- a/kubernetes/test/test_v1_security_context.py +++ b/kubernetes/test/test_v1_security_context.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_service.py b/kubernetes/test/test_v1_service.py index 3c2cd13e29..cb6ffe0b05 100644 --- a/kubernetes/test/test_v1_service.py +++ b/kubernetes/test/test_v1_service.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_service_account.py b/kubernetes/test/test_v1_service_account.py index 4a625497c5..d305abf35e 100644 --- a/kubernetes/test/test_v1_service_account.py +++ b/kubernetes/test/test_v1_service_account.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_service_account_list.py b/kubernetes/test/test_v1_service_account_list.py index 087a5a80b9..1f66de72d9 100644 --- a/kubernetes/test/test_v1_service_account_list.py +++ b/kubernetes/test/test_v1_service_account_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_service_list.py b/kubernetes/test/test_v1_service_list.py index 47e311900b..73e99835d7 100644 --- a/kubernetes/test/test_v1_service_list.py +++ b/kubernetes/test/test_v1_service_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_service_port.py b/kubernetes/test/test_v1_service_port.py index f254ed3055..bd92689a1f 100644 --- a/kubernetes/test/test_v1_service_port.py +++ b/kubernetes/test/test_v1_service_port.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_service_spec.py b/kubernetes/test/test_v1_service_spec.py index b21b451aba..b7f979d8f0 100644 --- a/kubernetes/test/test_v1_service_spec.py +++ b/kubernetes/test/test_v1_service_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_service_status.py b/kubernetes/test/test_v1_service_status.py index 782e4fcb0e..d5f786c2cb 100644 --- a/kubernetes/test/test_v1_service_status.py +++ b/kubernetes/test/test_v1_service_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_tcp_socket_action.py b/kubernetes/test/test_v1_tcp_socket_action.py index f3b8a4f47b..08806a264c 100644 --- a/kubernetes/test/test_v1_tcp_socket_action.py +++ b/kubernetes/test/test_v1_tcp_socket_action.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_volume.py b/kubernetes/test/test_v1_volume.py index 7e21d3f98d..5634dcd07c 100644 --- a/kubernetes/test/test_v1_volume.py +++ b/kubernetes/test/test_v1_volume.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_volume_mount.py b/kubernetes/test/test_v1_volume_mount.py index 3e4b644eb4..15fb02dc82 100644 --- a/kubernetes/test/test_v1_volume_mount.py +++ b/kubernetes/test/test_v1_volume_mount.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py b/kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py index 10bb5c95d7..42d617e64f 100644 --- a/kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py +++ b/kubernetes/test/test_v1_vsphere_virtual_disk_volume_source.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1alpha1_certificate_signing_request.py b/kubernetes/test/test_v1alpha1_certificate_signing_request.py index 2eee342bb6..f038784882 100644 --- a/kubernetes/test/test_v1alpha1_certificate_signing_request.py +++ b/kubernetes/test/test_v1alpha1_certificate_signing_request.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1alpha1_certificate_signing_request_condition.py b/kubernetes/test/test_v1alpha1_certificate_signing_request_condition.py index eb4360fe42..0ae30734ac 100644 --- a/kubernetes/test/test_v1alpha1_certificate_signing_request_condition.py +++ b/kubernetes/test/test_v1alpha1_certificate_signing_request_condition.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1alpha1_certificate_signing_request_list.py b/kubernetes/test/test_v1alpha1_certificate_signing_request_list.py index bf500c9b46..3850be78e9 100644 --- a/kubernetes/test/test_v1alpha1_certificate_signing_request_list.py +++ b/kubernetes/test/test_v1alpha1_certificate_signing_request_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1alpha1_certificate_signing_request_spec.py b/kubernetes/test/test_v1alpha1_certificate_signing_request_spec.py index eaee48a661..42e867877c 100644 --- a/kubernetes/test/test_v1alpha1_certificate_signing_request_spec.py +++ b/kubernetes/test/test_v1alpha1_certificate_signing_request_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1alpha1_certificate_signing_request_status.py b/kubernetes/test/test_v1alpha1_certificate_signing_request_status.py index 318771bcae..e23362fad7 100644 --- a/kubernetes/test/test_v1alpha1_certificate_signing_request_status.py +++ b/kubernetes/test/test_v1alpha1_certificate_signing_request_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1alpha1_cluster_role.py b/kubernetes/test/test_v1alpha1_cluster_role.py index d1d6204394..ed3ff23fdb 100644 --- a/kubernetes/test/test_v1alpha1_cluster_role.py +++ b/kubernetes/test/test_v1alpha1_cluster_role.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1alpha1_cluster_role_binding.py b/kubernetes/test/test_v1alpha1_cluster_role_binding.py index a333384b1b..8858524c1a 100644 --- a/kubernetes/test/test_v1alpha1_cluster_role_binding.py +++ b/kubernetes/test/test_v1alpha1_cluster_role_binding.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1alpha1_cluster_role_binding_list.py b/kubernetes/test/test_v1alpha1_cluster_role_binding_list.py index 69d9155496..2aae719810 100644 --- a/kubernetes/test/test_v1alpha1_cluster_role_binding_list.py +++ b/kubernetes/test/test_v1alpha1_cluster_role_binding_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1alpha1_cluster_role_list.py b/kubernetes/test/test_v1alpha1_cluster_role_list.py index 2a3686d188..509b601f7d 100644 --- a/kubernetes/test/test_v1alpha1_cluster_role_list.py +++ b/kubernetes/test/test_v1alpha1_cluster_role_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1alpha1_policy_rule.py b/kubernetes/test/test_v1alpha1_policy_rule.py index 01a6b25860..d7d45354ad 100644 --- a/kubernetes/test/test_v1alpha1_policy_rule.py +++ b/kubernetes/test/test_v1alpha1_policy_rule.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1alpha1_role.py b/kubernetes/test/test_v1alpha1_role.py index ad56a9242b..101e8a6acf 100644 --- a/kubernetes/test/test_v1alpha1_role.py +++ b/kubernetes/test/test_v1alpha1_role.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1alpha1_role_binding.py b/kubernetes/test/test_v1alpha1_role_binding.py index e74221e9c0..f360da809d 100644 --- a/kubernetes/test/test_v1alpha1_role_binding.py +++ b/kubernetes/test/test_v1alpha1_role_binding.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1alpha1_role_binding_list.py b/kubernetes/test/test_v1alpha1_role_binding_list.py index 09498654d7..9dee48d9de 100644 --- a/kubernetes/test/test_v1alpha1_role_binding_list.py +++ b/kubernetes/test/test_v1alpha1_role_binding_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1alpha1_role_list.py b/kubernetes/test/test_v1alpha1_role_list.py index 4936453c96..17caef3f32 100644 --- a/kubernetes/test/test_v1alpha1_role_list.py +++ b/kubernetes/test/test_v1alpha1_role_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1alpha1_role_ref.py b/kubernetes/test/test_v1alpha1_role_ref.py index 99424870b2..c004ca97fc 100644 --- a/kubernetes/test/test_v1alpha1_role_ref.py +++ b/kubernetes/test/test_v1alpha1_role_ref.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1alpha1_subject.py b/kubernetes/test/test_v1alpha1_subject.py index 434c3c31a4..53cd7a13fb 100644 --- a/kubernetes/test/test_v1alpha1_subject.py +++ b/kubernetes/test/test_v1alpha1_subject.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_api_version.py b/kubernetes/test/test_v1beta1_api_version.py index a5b3262432..7ba6057e93 100644 --- a/kubernetes/test/test_v1beta1_api_version.py +++ b/kubernetes/test/test_v1beta1_api_version.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_cpu_target_utilization.py b/kubernetes/test/test_v1beta1_cpu_target_utilization.py index cdde28681b..a8f86943e1 100644 --- a/kubernetes/test/test_v1beta1_cpu_target_utilization.py +++ b/kubernetes/test/test_v1beta1_cpu_target_utilization.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_daemon_set.py b/kubernetes/test/test_v1beta1_daemon_set.py index 5a68509cea..94c6e4a3dd 100644 --- a/kubernetes/test/test_v1beta1_daemon_set.py +++ b/kubernetes/test/test_v1beta1_daemon_set.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_daemon_set_list.py b/kubernetes/test/test_v1beta1_daemon_set_list.py index 2f6377e2c3..dab250a43e 100644 --- a/kubernetes/test/test_v1beta1_daemon_set_list.py +++ b/kubernetes/test/test_v1beta1_daemon_set_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_daemon_set_spec.py b/kubernetes/test/test_v1beta1_daemon_set_spec.py index e0955e8836..c93a417018 100644 --- a/kubernetes/test/test_v1beta1_daemon_set_spec.py +++ b/kubernetes/test/test_v1beta1_daemon_set_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_daemon_set_status.py b/kubernetes/test/test_v1beta1_daemon_set_status.py index c5a881fe67..8416bff38d 100644 --- a/kubernetes/test/test_v1beta1_daemon_set_status.py +++ b/kubernetes/test/test_v1beta1_daemon_set_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_deployment.py b/kubernetes/test/test_v1beta1_deployment.py index 544e23f86f..b526144373 100644 --- a/kubernetes/test/test_v1beta1_deployment.py +++ b/kubernetes/test/test_v1beta1_deployment.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_deployment_condition.py b/kubernetes/test/test_v1beta1_deployment_condition.py index 7d76a79cee..62e825b1b7 100644 --- a/kubernetes/test/test_v1beta1_deployment_condition.py +++ b/kubernetes/test/test_v1beta1_deployment_condition.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_deployment_list.py b/kubernetes/test/test_v1beta1_deployment_list.py index 1097919921..aa62d2a164 100644 --- a/kubernetes/test/test_v1beta1_deployment_list.py +++ b/kubernetes/test/test_v1beta1_deployment_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_deployment_rollback.py b/kubernetes/test/test_v1beta1_deployment_rollback.py index 115dbdb3d9..a2051f3714 100644 --- a/kubernetes/test/test_v1beta1_deployment_rollback.py +++ b/kubernetes/test/test_v1beta1_deployment_rollback.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_deployment_spec.py b/kubernetes/test/test_v1beta1_deployment_spec.py index e818e0f121..851517cc0d 100644 --- a/kubernetes/test/test_v1beta1_deployment_spec.py +++ b/kubernetes/test/test_v1beta1_deployment_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_deployment_status.py b/kubernetes/test/test_v1beta1_deployment_status.py index 419404fccf..8a84a0a4d6 100644 --- a/kubernetes/test/test_v1beta1_deployment_status.py +++ b/kubernetes/test/test_v1beta1_deployment_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_deployment_strategy.py b/kubernetes/test/test_v1beta1_deployment_strategy.py index 81a9e5677a..3107ec4330 100644 --- a/kubernetes/test/test_v1beta1_deployment_strategy.py +++ b/kubernetes/test/test_v1beta1_deployment_strategy.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_eviction.py b/kubernetes/test/test_v1beta1_eviction.py index 274a803d56..cbaea59204 100644 --- a/kubernetes/test/test_v1beta1_eviction.py +++ b/kubernetes/test/test_v1beta1_eviction.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler.py b/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler.py index 4d23fe4543..5426a7f923 100644 --- a/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler.py +++ b/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler_list.py b/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler_list.py index 97703dad2b..c0cbac7cd5 100644 --- a/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler_list.py +++ b/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler_spec.py b/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler_spec.py index 3c0e27854a..e326d6212f 100644 --- a/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler_spec.py +++ b/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler_status.py b/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler_status.py index f90710eebb..0f45aee401 100644 --- a/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler_status.py +++ b/kubernetes/test/test_v1beta1_horizontal_pod_autoscaler_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_http_ingress_path.py b/kubernetes/test/test_v1beta1_http_ingress_path.py index 93ae7ad92e..2cfa6b6a76 100644 --- a/kubernetes/test/test_v1beta1_http_ingress_path.py +++ b/kubernetes/test/test_v1beta1_http_ingress_path.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_http_ingress_rule_value.py b/kubernetes/test/test_v1beta1_http_ingress_rule_value.py index ed0820d6c6..c01b65271b 100644 --- a/kubernetes/test/test_v1beta1_http_ingress_rule_value.py +++ b/kubernetes/test/test_v1beta1_http_ingress_rule_value.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_ingress.py b/kubernetes/test/test_v1beta1_ingress.py index 3352f0fc07..35699c6221 100644 --- a/kubernetes/test/test_v1beta1_ingress.py +++ b/kubernetes/test/test_v1beta1_ingress.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_ingress_backend.py b/kubernetes/test/test_v1beta1_ingress_backend.py index fbb2cdfa88..34d1e56194 100644 --- a/kubernetes/test/test_v1beta1_ingress_backend.py +++ b/kubernetes/test/test_v1beta1_ingress_backend.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_ingress_list.py b/kubernetes/test/test_v1beta1_ingress_list.py index 2a9ee08818..db245f2283 100644 --- a/kubernetes/test/test_v1beta1_ingress_list.py +++ b/kubernetes/test/test_v1beta1_ingress_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_ingress_rule.py b/kubernetes/test/test_v1beta1_ingress_rule.py index ab0d8b287f..aad8698d08 100644 --- a/kubernetes/test/test_v1beta1_ingress_rule.py +++ b/kubernetes/test/test_v1beta1_ingress_rule.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_ingress_spec.py b/kubernetes/test/test_v1beta1_ingress_spec.py index a57d54e023..8881d6cfd2 100644 --- a/kubernetes/test/test_v1beta1_ingress_spec.py +++ b/kubernetes/test/test_v1beta1_ingress_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_ingress_status.py b/kubernetes/test/test_v1beta1_ingress_status.py index 14c98312e1..9d11e3d0b5 100644 --- a/kubernetes/test/test_v1beta1_ingress_status.py +++ b/kubernetes/test/test_v1beta1_ingress_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_ingress_tls.py b/kubernetes/test/test_v1beta1_ingress_tls.py index 555e1373b6..c56b30cbb4 100644 --- a/kubernetes/test/test_v1beta1_ingress_tls.py +++ b/kubernetes/test/test_v1beta1_ingress_tls.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_job.py b/kubernetes/test/test_v1beta1_job.py index 3054c88db9..b9ed85ea16 100644 --- a/kubernetes/test/test_v1beta1_job.py +++ b/kubernetes/test/test_v1beta1_job.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_job_condition.py b/kubernetes/test/test_v1beta1_job_condition.py index ad9f6ca9d9..9e8ea1f011 100644 --- a/kubernetes/test/test_v1beta1_job_condition.py +++ b/kubernetes/test/test_v1beta1_job_condition.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_job_list.py b/kubernetes/test/test_v1beta1_job_list.py index 4e0dad3103..e5dbf3f939 100644 --- a/kubernetes/test/test_v1beta1_job_list.py +++ b/kubernetes/test/test_v1beta1_job_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_job_spec.py b/kubernetes/test/test_v1beta1_job_spec.py index 936aa3e4b3..4a5eeb5fa2 100644 --- a/kubernetes/test/test_v1beta1_job_spec.py +++ b/kubernetes/test/test_v1beta1_job_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_job_status.py b/kubernetes/test/test_v1beta1_job_status.py index f4ee282c05..d4fb40a45d 100644 --- a/kubernetes/test/test_v1beta1_job_status.py +++ b/kubernetes/test/test_v1beta1_job_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_local_subject_access_review.py b/kubernetes/test/test_v1beta1_local_subject_access_review.py index 0306e6574b..69c5ad4008 100644 --- a/kubernetes/test/test_v1beta1_local_subject_access_review.py +++ b/kubernetes/test/test_v1beta1_local_subject_access_review.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_network_policy.py b/kubernetes/test/test_v1beta1_network_policy.py index 378edbf686..0dba9e856c 100644 --- a/kubernetes/test/test_v1beta1_network_policy.py +++ b/kubernetes/test/test_v1beta1_network_policy.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_network_policy_ingress_rule.py b/kubernetes/test/test_v1beta1_network_policy_ingress_rule.py index dcafb92977..977d19d947 100644 --- a/kubernetes/test/test_v1beta1_network_policy_ingress_rule.py +++ b/kubernetes/test/test_v1beta1_network_policy_ingress_rule.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_network_policy_list.py b/kubernetes/test/test_v1beta1_network_policy_list.py index 0e244a538a..0f757983ed 100644 --- a/kubernetes/test/test_v1beta1_network_policy_list.py +++ b/kubernetes/test/test_v1beta1_network_policy_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_network_policy_peer.py b/kubernetes/test/test_v1beta1_network_policy_peer.py index 9b44587d60..b8f59cafd6 100644 --- a/kubernetes/test/test_v1beta1_network_policy_peer.py +++ b/kubernetes/test/test_v1beta1_network_policy_peer.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_network_policy_port.py b/kubernetes/test/test_v1beta1_network_policy_port.py index 4118445b6c..65637fb38b 100644 --- a/kubernetes/test/test_v1beta1_network_policy_port.py +++ b/kubernetes/test/test_v1beta1_network_policy_port.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_network_policy_spec.py b/kubernetes/test/test_v1beta1_network_policy_spec.py index 0cf1dc7878..d730d8a967 100644 --- a/kubernetes/test/test_v1beta1_network_policy_spec.py +++ b/kubernetes/test/test_v1beta1_network_policy_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_non_resource_attributes.py b/kubernetes/test/test_v1beta1_non_resource_attributes.py index 5ef3e8becf..63687ee5ae 100644 --- a/kubernetes/test/test_v1beta1_non_resource_attributes.py +++ b/kubernetes/test/test_v1beta1_non_resource_attributes.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget.py b/kubernetes/test/test_v1beta1_pod_disruption_budget.py index c2ea77524e..e0d4c31a8c 100644 --- a/kubernetes/test/test_v1beta1_pod_disruption_budget.py +++ b/kubernetes/test/test_v1beta1_pod_disruption_budget.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget_list.py b/kubernetes/test/test_v1beta1_pod_disruption_budget_list.py index b3ba4c5218..e441751975 100644 --- a/kubernetes/test/test_v1beta1_pod_disruption_budget_list.py +++ b/kubernetes/test/test_v1beta1_pod_disruption_budget_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py b/kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py index 6f777e54f7..234701ed7b 100644 --- a/kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py +++ b/kubernetes/test/test_v1beta1_pod_disruption_budget_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_pod_disruption_budget_status.py b/kubernetes/test/test_v1beta1_pod_disruption_budget_status.py index 7035cf4f1d..1062e74fff 100644 --- a/kubernetes/test/test_v1beta1_pod_disruption_budget_status.py +++ b/kubernetes/test/test_v1beta1_pod_disruption_budget_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_replica_set.py b/kubernetes/test/test_v1beta1_replica_set.py index 857006bb28..9efe7bfde3 100644 --- a/kubernetes/test/test_v1beta1_replica_set.py +++ b/kubernetes/test/test_v1beta1_replica_set.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_replica_set_condition.py b/kubernetes/test/test_v1beta1_replica_set_condition.py index fa0b07d7f8..d8d38e7f6b 100644 --- a/kubernetes/test/test_v1beta1_replica_set_condition.py +++ b/kubernetes/test/test_v1beta1_replica_set_condition.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_replica_set_list.py b/kubernetes/test/test_v1beta1_replica_set_list.py index 77219d4bd1..9ff4838c13 100644 --- a/kubernetes/test/test_v1beta1_replica_set_list.py +++ b/kubernetes/test/test_v1beta1_replica_set_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_replica_set_spec.py b/kubernetes/test/test_v1beta1_replica_set_spec.py index 355078867e..110203812c 100644 --- a/kubernetes/test/test_v1beta1_replica_set_spec.py +++ b/kubernetes/test/test_v1beta1_replica_set_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_replica_set_status.py b/kubernetes/test/test_v1beta1_replica_set_status.py index b82cdf9cc1..526c4e15fe 100644 --- a/kubernetes/test/test_v1beta1_replica_set_status.py +++ b/kubernetes/test/test_v1beta1_replica_set_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_resource_attributes.py b/kubernetes/test/test_v1beta1_resource_attributes.py index decc2b3038..b1b155f634 100644 --- a/kubernetes/test/test_v1beta1_resource_attributes.py +++ b/kubernetes/test/test_v1beta1_resource_attributes.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_rollback_config.py b/kubernetes/test/test_v1beta1_rollback_config.py index a42c90f77a..3313b461a1 100644 --- a/kubernetes/test/test_v1beta1_rollback_config.py +++ b/kubernetes/test/test_v1beta1_rollback_config.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_rolling_update_deployment.py b/kubernetes/test/test_v1beta1_rolling_update_deployment.py index 3072e5ae6b..ef6e606e1b 100644 --- a/kubernetes/test/test_v1beta1_rolling_update_deployment.py +++ b/kubernetes/test/test_v1beta1_rolling_update_deployment.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_scale.py b/kubernetes/test/test_v1beta1_scale.py index 8fa65d7f8c..a5f245f6ef 100644 --- a/kubernetes/test/test_v1beta1_scale.py +++ b/kubernetes/test/test_v1beta1_scale.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_scale_spec.py b/kubernetes/test/test_v1beta1_scale_spec.py index ed805404b0..0ae71809ce 100644 --- a/kubernetes/test/test_v1beta1_scale_spec.py +++ b/kubernetes/test/test_v1beta1_scale_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_scale_status.py b/kubernetes/test/test_v1beta1_scale_status.py index b835bbb33c..bdfa7bd6f6 100644 --- a/kubernetes/test/test_v1beta1_scale_status.py +++ b/kubernetes/test/test_v1beta1_scale_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_self_subject_access_review.py b/kubernetes/test/test_v1beta1_self_subject_access_review.py index da7abaac92..7b1d9752b4 100644 --- a/kubernetes/test/test_v1beta1_self_subject_access_review.py +++ b/kubernetes/test/test_v1beta1_self_subject_access_review.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_self_subject_access_review_spec.py b/kubernetes/test/test_v1beta1_self_subject_access_review_spec.py index ee8a63087a..f32146427d 100644 --- a/kubernetes/test/test_v1beta1_self_subject_access_review_spec.py +++ b/kubernetes/test/test_v1beta1_self_subject_access_review_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_stateful_set.py b/kubernetes/test/test_v1beta1_stateful_set.py index 3c21afd2c8..73bf4a2b48 100644 --- a/kubernetes/test/test_v1beta1_stateful_set.py +++ b/kubernetes/test/test_v1beta1_stateful_set.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_stateful_set_list.py b/kubernetes/test/test_v1beta1_stateful_set_list.py index c8a4306faa..6b9a0444f1 100644 --- a/kubernetes/test/test_v1beta1_stateful_set_list.py +++ b/kubernetes/test/test_v1beta1_stateful_set_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_stateful_set_spec.py b/kubernetes/test/test_v1beta1_stateful_set_spec.py index 6fa6f8de1d..21776dcd23 100644 --- a/kubernetes/test/test_v1beta1_stateful_set_spec.py +++ b/kubernetes/test/test_v1beta1_stateful_set_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_stateful_set_status.py b/kubernetes/test/test_v1beta1_stateful_set_status.py index 5013055228..7956563235 100644 --- a/kubernetes/test/test_v1beta1_stateful_set_status.py +++ b/kubernetes/test/test_v1beta1_stateful_set_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_storage_class.py b/kubernetes/test/test_v1beta1_storage_class.py index 0c04197a3a..12a4e09279 100644 --- a/kubernetes/test/test_v1beta1_storage_class.py +++ b/kubernetes/test/test_v1beta1_storage_class.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_storage_class_list.py b/kubernetes/test/test_v1beta1_storage_class_list.py index 638bc5673b..f0388c6be2 100644 --- a/kubernetes/test/test_v1beta1_storage_class_list.py +++ b/kubernetes/test/test_v1beta1_storage_class_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_subject_access_review.py b/kubernetes/test/test_v1beta1_subject_access_review.py index 1c5a274085..234f0787b7 100644 --- a/kubernetes/test/test_v1beta1_subject_access_review.py +++ b/kubernetes/test/test_v1beta1_subject_access_review.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_subject_access_review_spec.py b/kubernetes/test/test_v1beta1_subject_access_review_spec.py index fdd3b72d13..a7f0067268 100644 --- a/kubernetes/test/test_v1beta1_subject_access_review_spec.py +++ b/kubernetes/test/test_v1beta1_subject_access_review_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_subject_access_review_status.py b/kubernetes/test/test_v1beta1_subject_access_review_status.py index d963a17022..d6586f1b68 100644 --- a/kubernetes/test/test_v1beta1_subject_access_review_status.py +++ b/kubernetes/test/test_v1beta1_subject_access_review_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_subresource_reference.py b/kubernetes/test/test_v1beta1_subresource_reference.py index 4e71c27707..217be0360b 100644 --- a/kubernetes/test/test_v1beta1_subresource_reference.py +++ b/kubernetes/test/test_v1beta1_subresource_reference.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_third_party_resource.py b/kubernetes/test/test_v1beta1_third_party_resource.py index 9c2aa32c5a..2c08534906 100644 --- a/kubernetes/test/test_v1beta1_third_party_resource.py +++ b/kubernetes/test/test_v1beta1_third_party_resource.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_third_party_resource_list.py b/kubernetes/test/test_v1beta1_third_party_resource_list.py index 58404af0eb..85a8a57a13 100644 --- a/kubernetes/test/test_v1beta1_third_party_resource_list.py +++ b/kubernetes/test/test_v1beta1_third_party_resource_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_token_review.py b/kubernetes/test/test_v1beta1_token_review.py index dbca1c5d92..4c0eb87731 100644 --- a/kubernetes/test/test_v1beta1_token_review.py +++ b/kubernetes/test/test_v1beta1_token_review.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_token_review_spec.py b/kubernetes/test/test_v1beta1_token_review_spec.py index ec4028c0e1..fc57294462 100644 --- a/kubernetes/test/test_v1beta1_token_review_spec.py +++ b/kubernetes/test/test_v1beta1_token_review_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_token_review_status.py b/kubernetes/test/test_v1beta1_token_review_status.py index 7eb14ca637..9eca80432a 100644 --- a/kubernetes/test/test_v1beta1_token_review_status.py +++ b/kubernetes/test/test_v1beta1_token_review_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v1beta1_user_info.py b/kubernetes/test/test_v1beta1_user_info.py index 91f3c795a3..318a04a609 100644 --- a/kubernetes/test/test_v1beta1_user_info.py +++ b/kubernetes/test/test_v1beta1_user_info.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v2alpha1_cron_job.py b/kubernetes/test/test_v2alpha1_cron_job.py index dd18ed96a4..33aea1e728 100644 --- a/kubernetes/test/test_v2alpha1_cron_job.py +++ b/kubernetes/test/test_v2alpha1_cron_job.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v2alpha1_cron_job_list.py b/kubernetes/test/test_v2alpha1_cron_job_list.py index 5e5a5c0843..641c8b6e60 100644 --- a/kubernetes/test/test_v2alpha1_cron_job_list.py +++ b/kubernetes/test/test_v2alpha1_cron_job_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v2alpha1_cron_job_spec.py b/kubernetes/test/test_v2alpha1_cron_job_spec.py index 4a0ff00afe..8f24f9b859 100644 --- a/kubernetes/test/test_v2alpha1_cron_job_spec.py +++ b/kubernetes/test/test_v2alpha1_cron_job_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v2alpha1_cron_job_status.py b/kubernetes/test/test_v2alpha1_cron_job_status.py index 3ffb7bed15..9d335ab98b 100644 --- a/kubernetes/test/test_v2alpha1_cron_job_status.py +++ b/kubernetes/test/test_v2alpha1_cron_job_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v2alpha1_job.py b/kubernetes/test/test_v2alpha1_job.py index 68d6caed06..3c7ff82509 100644 --- a/kubernetes/test/test_v2alpha1_job.py +++ b/kubernetes/test/test_v2alpha1_job.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v2alpha1_job_condition.py b/kubernetes/test/test_v2alpha1_job_condition.py index de66194386..91f5844996 100644 --- a/kubernetes/test/test_v2alpha1_job_condition.py +++ b/kubernetes/test/test_v2alpha1_job_condition.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v2alpha1_job_list.py b/kubernetes/test/test_v2alpha1_job_list.py index 6f5d98fb01..69b9cdda2c 100644 --- a/kubernetes/test/test_v2alpha1_job_list.py +++ b/kubernetes/test/test_v2alpha1_job_list.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v2alpha1_job_spec.py b/kubernetes/test/test_v2alpha1_job_spec.py index 3312c26a55..28d169454d 100644 --- a/kubernetes/test/test_v2alpha1_job_spec.py +++ b/kubernetes/test/test_v2alpha1_job_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v2alpha1_job_status.py b/kubernetes/test/test_v2alpha1_job_status.py index cc68aa5737..10bb8edc23 100644 --- a/kubernetes/test/test_v2alpha1_job_status.py +++ b/kubernetes/test/test_v2alpha1_job_status.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_v2alpha1_job_template_spec.py b/kubernetes/test/test_v2alpha1_job_template_spec.py index 421c0e2144..749630592e 100644 --- a/kubernetes/test/test_v2alpha1_job_template_spec.py +++ b/kubernetes/test/test_v2alpha1_job_template_spec.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_version_api.py b/kubernetes/test/test_version_api.py index 54b05977fc..715df5c8aa 100644 --- a/kubernetes/test/test_version_api.py +++ b/kubernetes/test/test_version_api.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_version_info.py b/kubernetes/test/test_version_info.py index 25935bbf85..c1aba38b3c 100644 --- a/kubernetes/test/test_version_info.py +++ b/kubernetes/test/test_version_info.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/kubernetes/test/test_versioned_event.py b/kubernetes/test/test_versioned_event.py index 50e2cc86e5..d8bfca777c 100644 --- a/kubernetes/test/test_versioned_event.py +++ b/kubernetes/test/test_versioned_event.py @@ -8,20 +8,9 @@ OpenAPI spec version: v1.5.1-660c2a2 Generated by: https://github.com/swagger-api/swagger-codegen.git - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. """ + from __future__ import absolute_import import os diff --git a/scripts/update-client.sh b/scripts/update-client.sh index 5282a69777..7453839ce7 100755 --- a/scripts/update-client.sh +++ b/scripts/update-client.sh @@ -56,10 +56,13 @@ echo "--- Patching generated code..." find "${CLIENT_ROOT}/test" -type f -name \*.py -exec sed -i 's/\bclient/kubernetes.client/g' {} + find "${CLIENT_ROOT}/" -type f -name \*.md -exec sed -i 's/\bclient/kubernetes.client/g' {} + find "${CLIENT_ROOT}/" -type f -name \*.md -exec sed -i 's/kubernetes.client-python/client-python/g' {} + -rm "${CLIENT_ROOT}/LICENSE" +# rm "${CLIENT_ROOT}/LICENSE" echo "--- updating version information..." sed -i'' "s/^CLIENT_VERSION = .*/CLIENT_VERSION = \\\"${CLIENT_VERSION}\\\"/" "${SCRIPT_ROOT}/../setup.py" sed -i'' "s/^PACKAGE_NAME = .*/PACKAGE_NAME = \\\"${PACKAGE_NAME}\\\"/" "${SCRIPT_ROOT}/../setup.py" sed -i'' "s/^DEVELOPMENT_STATUS = .*/DEVELOPMENT_STATUS = \\\"${DEVELOPMENT_STATUS}\\\"/" "${SCRIPT_ROOT}/../setup.py" - +sed -i'' "/^configuration = Configuration()$/d" "${CLIENT_ROOT}/client/__init__.py" +sed -i'' "/^from .configuration import Configuration$/d" "${CLIENT_ROOT}/client/__init__.py" +sed -i '${/^$/d;}' "${CLIENT_ROOT}/client/__init__.py" +echo "from .configuration import Configuration, ConfigurationObject, configuration" >> "${CLIENT_ROOT}/client/__init__.py" echo "---Done."